Bug 568925 - Label does not support the same alignment as CLabel
Summary: Label does not support the same alignment as CLabel
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 10:00 EST by Lars Vogel CLA
Modified: 2020-11-18 10:27 EST (History)
2 users (show)

See Also:


Attachments
CLabel Screenshot (5.29 KB, image/png)
2020-11-18 10:00 EST, Lars Vogel CLA
no flags Details
Label (5.49 KB, image/png)
2020-11-18 10:01 EST, Lars Vogel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2020-11-18 10:00:41 EST
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.
Comment 1 Lars Vogel CLA 2020-11-18 10:01:05 EST
Created attachment 284806 [details]
Label
Comment 2 Alexander Kurtakov CLA 2020-11-18 10:27:42 EST
Does it look the saem on Linux? Can you share pure swt snippet too?