PDA

View Full Version : [CLOSED] CheckBox or EditBox can be show in GroupBox if size is not enough



yaoyu01
31 Mar 2011, 1:32 AM
EXT GWT developers,

I'm not sure whether this is a bug or limitation. CheckBox or EditBox can be show in GroupBox if size is not enough. Please see below screenshots. If size is big enough, it works very well, CheckBox can be shown. If size is small, the CheckBox disappear

I just modified ToolBarOverflowExample.java which is shipped with EXT GWT sample codes to add a new CheckBox like this:

group.add(new CheckBox());

25431

Thanks.
Yuan.

yaoyu01
1 Apr 2011, 11:19 PM
Can someone give the help?

Ersmarker
5 Apr 2011, 3:25 AM
This is a limitation in the ToolBarLayout.
You need to create a custom ToolbarLayout to add support for this.
Take a look at the method addComponentToMenu