mierlp Posted September 5, 2019 Share Posted September 5, 2019 See the mockup for illustration for what i need. See attachment when I make the following adjustments: - set uniFieldContainer2.Layout = fit - place a uniFieldSet on unFieldContainder2 with the fields - Result = they will be resized BUT edit2 and edit3 will be below each other instead of side by side Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 7 hours ago, mierlp said: See the mockup for illustration for what i need. Hi, Sorry, make a simple testcase if possible. And please clarify again how it looks now and how it should look. Quote Link to comment Share on other sites More sharing options...
mierlp Posted September 6, 2019 Author Share Posted September 6, 2019 Hi A very simple testcase attached. In the menu click 'Show frame2'. You see 2 uniFieldcontainers, both are resizing when the form is resized The next step is that the Edit fields also resizes in width, so they must be a percentage compared to the uniFieldContainer2 uniEdit2 and 3 must be stay next to each other Regards Peter TestCase.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 5 minutes ago, mierlp said: be a percentage compared to the uniFieldContainer2 UniFieldContainer2.Layout = vbox UniEdit4.LayoutConfig.Width = 100% ? Quote Link to comment Share on other sites More sharing options...
mierlp Posted September 6, 2019 Author Share Posted September 6, 2019 When you set LayoutConfig.width and a % that works, see attachement But what's not working is the fields next to each other and will be placed below each other. Maybe it's not possibel to put them next to each other ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 Do you mean horizontally? Quote Link to comment Share on other sites More sharing options...
mierlp Posted September 6, 2019 Author Share Posted September 6, 2019 Yes Edit2 and Edit3 have to be next to each other, not below Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 13 minutes ago, mierlp said: Edit2 and Edit3 have to be next to each other, not below Something like this? Quote Link to comment Share on other sites More sharing options...
mierlp Posted September 6, 2019 Author Share Posted September 6, 2019 Yes Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 1 hour ago, mierlp said: Yes One possible solution to use column layout Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 6, 2019 Share Posted September 6, 2019 2 minutes ago, Sherzod said: One possible solution to use column layout 1. UniFieldContainer2.Layout = column 2. UniEdit4 LayoutConfig.Width = 100% CreateOrder = 1 3. UniEdit5 LayoutConfig.Width = 40% CreateOrder = 2 4. UniEdit6 LayoutConfig.Width = 60% CreateOrder = 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.