Skip to content

Table Headers not showing on Windows #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jasc2v8 opened this issue Jul 13, 2017 · 4 comments
Open

Table Headers not showing on Windows #28

jasc2v8 opened this issue Jul 13, 2017 · 4 comments

Comments

@jasc2v8
Copy link

jasc2v8 commented Jul 13, 2017

Platform: Windows only (Windows 7 and Windows 10), works on Linux Ubuntu
Issue: Table Headers not showing
Example: Snippet38.d
Possible source:
org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\widgets\TableColumn.d
Line 793-799:
/*
* Bug in Windows. For some reason, when the title
* of a column is changed after the column has been
* created, the alignment must also be reset or the
* text does not draw. The fix is to query and then
* set the alignment.
*/

@jacob-carlborg
Copy link
Member

Do you have the possibility do see how Snippet38 works in Java? If that has the same behavior or not.

@jasc2v8
Copy link
Author

jasc2v8 commented Jul 14, 2017

Great idea!
Yes, I tried the SWT Snippet38.java from here:
The table columns do display properly!

@jasc2v8
Copy link
Author

jasc2v8 commented Jul 31, 2017 via email

@torhus
Copy link

torhus commented Oct 3, 2022

This was fixed in c47d688. But the fix caused other issues, see #61. It should probably be set just for the snippets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants