Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Label Position for AbstractBooleanField
Label Position for AbstractBooleanField [message #900475] Tue, 07 August 2012 08:58 Go to next message
Thomas S. is currently offline Thomas S.Friend
Messages: 1
Registered: July 2012
Location: Frankfurt
Junior Member

is there any possibility to get the AbstractBooleanField Label on the left side of the checkbox?

Overwriting the mehtod "getConfiguredLabelPosition()" isn't working.

Re: Label Position for AbstractBooleanField [message #900985 is a reply to message #900475] Thu, 09 August 2012 10:07 Go to previous messageGo to next message
Claudio Guglielmo is currently offline Claudio GuglielmoFriend
Messages: 180
Registered: March 2010
Senior Member
Hi Thomas

I think this is not supported so far. If you really need it you could create a custom implementation of SwingScoutCheckBox. Have a look at the following method, that's where the label is set:

protected void setLabelFromScout(String s) {

This overrides the default of SwingScoutFieldComposite. To register your custom checkbox you can use the extension point org.eclipse.scout.rt.ui.swing.formfields.
Re: Label Position for AbstractBooleanField [message #1282511 is a reply to message #900475] Wed, 02 April 2014 12:06 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I have the same question (SWT application):

Current label position:

Wanted label position:

We have tried a lot (combination of a LabelField and CheckBox in a GroupBox, in a SequenceBox)... Nothing seems to work.

Custom Implementation of the CheckBox field in SWT to get a StatusLabelEx seems to be an overkill...

What are the possible solutions?

  • Attachment: current.png
    (Size: 2.01KB, Downloaded 274 times)
  • Attachment: wanted.png
    (Size: 2.25KB, Downloaded 247 times)
Previous Topic:Colour picker
Next Topic:Different Cell types in the same column
Goto Forum:

Current Time: Sat Nov 23 03:09:56 GMT 2019

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

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

Back to the top