> > > What matters is the preferred size of its content. > No what matters is the preferred size of its *contentPane* It's clear your definition of content and mine are quite different.
If the size of its content mattered, then setting the preferred size of one or more of the contents would cause the layout manager to appropriately calculate the size of the container in accord to the preferred size of its contents. In fact what I have to do is hard code the size of the container. A more appropriate response to my earlier question would be: "tablelayout does not calculate container sizes based upon the individual contents". 3 days ago, I already knew I could hard code the Dialog#show() or getContentPane()#setPreferredSize. That was an answer to my original question, but that still leaves my follow up question unanswered...why doesn't tablelayout respect the preferred size of its content and why isn't that information propagated up the container chain to the top level container? -- 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 [email protected]. 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/3ebf30c7-cb6f-4870-90c6-dad29c4ac169%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
