What I am trying to achieve is this: [image: layout_scheme.jpg] <about:invalid#zClosurez>
where C1b is a component that should have its prefered size and C1 should take the rest of the remaining width (I use the constraint width=-2 for the last column of the table so it extends to take all the parent width). The problem is that, for now, it do not work as with this hierarchy C1 do not take into account the parent actual width (it extends to its prefered width, not its actual width....)) So here is what I have for now: [image: layout_scheme_real.jpg] <about:invalid#zClosurez> On Wednesday, August 29, 2018 at 8:17:55 AM UTC+2, Shai Almog wrote: > Border layout south gives the component the full width. > > Box Layout X gives components their preferred size on the X axis. So does > flow layout. I don't understand what you are trying to accomplish in terms > of the UI. If you have a picture of the design you are trying to accomplish > I can provide a recommendation. This is just a bit hard to visualize. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a62908ec-c5c2-4eec-ab2a-f505a73e5359%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.