[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] StyledText.setAlignment & SWT.SINGLE style

Hi all!

I need to create a StyledText with a custom alignment,I call the setAlignment method. If I set SWT.SINGLE style settings of alignment ignored and I have default layout. Meanwhile if I don't set SWT.SINGLE style, alignment don't ignored. And I have two questions:
1) Why this happend?
2) What can I do to set SWT.SINGLE and create custom alignment both?
3) Does it possible to implement conditions of question 2?


Vladimir