Summary: | Label does not support the same alignment as CLabel | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> | ||||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
Status: | NEW --- | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | akurtakov, Lars.Vogel | ||||||
Version: | 4.17 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | PC | ||||||||
OS: | Windows 10 | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Created attachment 284806 [details]
Label
Does it look the saem on Linux? Can you share pure swt snippet too? |
Created attachment 284805 [details] CLabel Screenshot CLabel allows to align its content while Label does not do the same. Is this a bug? Test with CLabel: CLabel deleteProfile = new CLabel(container, SWT.CENTER | SWT.VERTICAL); deleteProfile.setLayoutData(GridDataFactory.fillDefaults().align(SWT.END, SWT.FILL).grab(false, true).hint(25, SWT.DEFAULT).create());deleteProfile.setText("\uD83D\uDDD1\uFE0F"); Label deleteProfile1 = new Label(container, SWT.CENTER | SWT.VERTICAL); deleteProfile1.setLayoutData(GridDataFactory.fillDefaults().align(SWT.END, SWT.FILL).grab(false, true).hint(25, SWT.DEFAULT).create()); deleteProfile1.setText("\uD83D\uDDD1\uFE0F"); I attach screenshot from a larger code base on Windows.