Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » GroupBox Column Count and Layout
GroupBox Column Count and Layout [message #1506456] Wed, 10 December 2014 21:49
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I have a group box with 5 columns:

@Override
protected int getConfiguredGridColumnCount() {
  return 5;
}


If have some fields that fill the columns, everything work fine:
* A label Field getConfiguredGridW() => 2
* A String field
* A Integer field
* A Smart field

index.php/fa/20200/0/

Now if the Integer and the Smart fields are not visible. The GroupBox takes the liberty to redefine its number of columns:

index.php/fa/20201/0/
(column count is now 3)

Do I have a way to prevent this dynamic redefinition of column count? Is the Layout manager responsible for that?

My current workaround is to have 2 placeholder fields that I set to visible when the Integer and Smart field are hidden.
Previous Topic:Bold font in scout fields
Next Topic:Maven deploy plugin
Goto Forum:
  


Current Time: Sat Apr 27 00:23:31 GMT 2024

Powered by FUDForum. Page generated in 0.02647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top