yes, I know I can do that and it is a *workaround, and not a very good on at that*.
- Why isn't the layout manager respecting the preferred sizes? - When I walk through your code, I see that the width / height of the components are being calculated (or at least it seems), but preferred size is never changing for the container. then in showPackedImpl(), you use preferred size instead of what appears to be a calculated size (width / height) - In the documentation for setPreferredsize() you state: override calcPreferredSize(), yet this value is not being respected, neither for the textarea that I want larger, nor for the container. - Additionally using showAt with 4 ints stretches the textarea horizontally but not vertically. Finally, while this BUG is easy to test when you want a single field larger, it is similarly present whenever you layout a dialog with tablelayout and textfields. The programmer has to manually hard code the dialog size. On Thursday, September 22, 2016 at 11:03:12 PM UTC-7, Shai Almog wrote: > > Use the show() method of a dialog that accepts 4 ints to determine the > exact distance from the edge of the screen. > -- 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/b132c318-e71e-4f58-94af-b92efbad3397%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.