hello, I’d like to put a textbox and a button in a row, but they’re the same length, So how can I resize the length of them to make it good-looking. thanks for reply
Does gr.Button(label="Button").style(full_width=False)
accomplish what you are looking for?
thanks for reply! I have tried what you say, but it seems useless, the length of button still the same as textbox. I want to make the length of button is shorter than the textbox. thx again.
I received this error message when trying this: AttributeError: ‘Button’ object has no attribute ‘style’.
Is there another approach in 4.0?