Then why doesn't this work?
protected TextArea taNotes = new TextArea() {
@Override
protected Dimension calcPreferredSize() {
return new Dimension(800, 500);
}
};
That is specifically setting the size of the content.
Neither does this work:
taNotes.setPreferredSize(new Dimension(800,500));
That is also specifically setting the preferred size of the content.
On Monday, September 26, 2016 at 10:19:20 PM UTC-7, Shai Almog wrote:
>
> I very specifically said content and not content pane. Manipulating the
> preferred size of the dialog content pane is problematic as Dialog IS A
> Form.
> Table layout does calculate size based on the preferred size of its
> content.
>
--
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/58cab9e1-0f66-4bd3-84f0-da5bcd18e8fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.