Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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
Hi,

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

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

Greetings
Thomas
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: 256
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:

@Override
protected void setLabelFromScout(String s) {
  getSwingCheckBox().setText(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:
index.php/fa/17878/0/

Wanted label position:
index.php/fa/17879/0/

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 470 times)
  • Attachment: wanted.png
    (Size: 2.25KB, Downloaded 445 times)
Previous Topic:Colour picker
Next Topic:Different Cell types in the same column
Goto Forum:
  


Current Time: Fri Mar 29 07:56:29 GMT 2024

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

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

Back to the top