How to set the default width and height #2875
Replies: 1 comment
-
Converted to a discussion so that we can determine what (if any) action is needed. Unfortunately, it's not clear to me what you see as the problem here. You've provided 2 screen shots, and other than the fact that the windows are different sizes (and thus so are the widgets), I can't see any substantial difference. If the issue is that the buttons are being "clipped" - that will be because your layout is constraining the available size. You *don't" want to use width, because that will only apply more constraints; it's likely related to the constraints you've implicitly applied by having a split container with a defined ratio. If the issue is the width of the Table's columns - that looks like a bug. There's no ability to control the width of columns; but they should be auto-filling to use all the available space. This is something that we do test for; so there's clearly something specific about your layout that isn't just about the Table. If you're able to provide a more complete example of your layout, we can investigate further. |
Beta Was this translation helpful? Give feedback.
-
What is the problem or limitation you are having?
I try the mulitinputlinetext example, and found some limitations
default layout:
![image](https://private-user-images.githubusercontent.com/287193/371745050-e335ef39-f123-4cf0-ba36-aae57e688d1b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzY3NDYsIm5iZiI6MTczOTIzNjQ0NiwicGF0aCI6Ii8yODcxOTMvMzcxNzQ1MDUwLWUzMzVlZjM5LWYxMjMtNGNmMC1iYTM2LWFhZTU3ZTY4OGQxYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwMTE0MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MmI0OGY0MmZmNzIzOTE2Mzg4ZDZhY2VjNjllY2EzNWIwODZkODc1YTEwOTc4ZDY3ZGE2ZDkyOGFlNDViNWIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.m_prlnETbhRbpY0UP_6gHXBtYtsWNIDbotx6EEjaEAI)
I want it's below layout, when I create these UI elements that can config some setting.
Describe the solution you'd like
Maybe the Pack class can do it, but I can't find the points. I used the 'width', but it will fixed the width size when I zoom the windows size.
Describe alternatives you've considered
Just for above information now.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions