|
Re: Right alignment of LabelField's value [message #1404707 is a reply to message #1404704] |
Tue, 05 August 2014 08:31 |
Matthias Nick Messages: 197 Registered: August 2013 |
Senior Member |
|
|
Hi Lukas,
thanks for your question.
First of all, I have two questions:
1) Which version of Scout are you using?
2) Which UI (Swing, SWT, RAP) ?
I tried with Scout 4.0 and here you have property on the AbstractLabel, called:
@Override
protected int getConfiguredHorizontalAlignment() {
return -1;
}
The javadoc says
-1 for left, 0 for center and 1 for right alignment
Below you find images of the result:
Hope this helps,
Matthias
-
Attachment: label_-1.png
(Size: 0.83KB, Downloaded 449 times) -
Attachment: label_0.png
(Size: 0.91KB, Downloaded 447 times) -
Attachment: label_1.png
(Size: 0.88KB, Downloaded 430 times)
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03645 seconds