|Re: How do I right align ccombo text? [message #1137694 is a reply to message #1131323]
||Mon, 14 October 2013 13:20
Registered: May 2011
On 10/10/2013 05:18, Arun Thondapu wrote:|
> You are right you cannot use SWT.RIGHT with CCombo but you can try using
> the orientation flag SWT.RIGHT_TO_LEFT while creating the CCombo. I'm
> not sure if it is exactly what you're looking for, it seems to right
> align the text in the drop-down list (but not in the combo's text box
Hi Arun, thanks for getting back to me. I had looked at
SWT.RIGHT_TO_LEFT but figured that was more applicable to supporting
bidi text, not exactly what I was looking for. I found that if the text
is numeric the CCombo should right align but I was wanting to display
values with a % sign. This causes the CCombo to left align as text.
Sadly I've still not found a solution to this SWT quirk.
Powered by FUDForum
. Page generated in 0.05255 seconds