Hi, I've added 2 Ultra Panels inside the UltraGridBagLayoutPanel and here are some GridBagConstraints
Item 1 - OriginX:0, OriginY:0, SpanX:2, SpanY:1
Item 2 - OriginX:2, OriginY:0, SpanX:1, SpanY:1
I've expected that Items 1 would take 2/3 of the width but they are the same width as Items 2.
How do I control the width distribution among the items inside the UltraGridBagLayoutPanel?
Hello ehan,
Could you please review the sample attached to this post and see if it meets your requirements. If it does not, please provide a screenshot of the desired look. Please feel free to let me know if I misunderstood you or if you have any other questions.
That would work... so this means that I have to play around with the Preferred size. I was hoping not to do that but that is fine.
Thank you for the feedback.
I might also want to take a look at the 'WeightX' and 'WeightY' properties for the future, they could really be helpful.
Please feel free to let me know if a question about our toolset comes up on your mind.