Skip to content
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

Text in column header is truncated (Performance calculation) (windows, dark mode) #3620

Open
Nirus2000 opened this issue Oct 30, 2023 · 2 comments
Assignees

Comments

@Nirus2000
Copy link
Member

Nirus2000 commented Oct 30, 2023

I could not fix this error.
The columns are wider than needed.

@Nirus2000 - can you provide some more details (maybe in a separate issue)?
My understanding is: the columns have whatever width the user has given them (by resizing it via double click). If one double-clicks on the column header (or on the line between two column headers), it should resize the column to the widest value.

The problem is, no matter how big I make this column, the font always gets cut off like this. But this happens only here in Performance -> Calculations and here also only (!) in the Dark Theme.

Dark Theme (Windows 10)
grafik

Light Theme (Windows 10)
grafik

Originally posted by @buchen in #3615 (comment)

@buchen buchen changed the title Text in column is truncated (Performance calculation) Text in column is truncated (Performance calculation) (windows, dark mode) Oct 31, 2023
@buchen buchen changed the title Text in column is truncated (Performance calculation) (windows, dark mode) Text in column header is truncated (Performance calculation) (windows, dark mode) Oct 31, 2023
@buchen
Copy link
Member

buchen commented Oct 31, 2023

Thanks @Nirus2000 for the detailed explanation

I appears to happen if (and only if)

  • on windows
  • in dark mode
  • in right aligned columns

Geeeez. A first search did not bring something up on SWT

@buchen
Copy link
Member

buchen commented Oct 31, 2023

If I remove the tree CSS styling (see below, from the org.eclipse.ui.theme bundle), then the alignment is correct (but of course not styled for dark mode). To me it looks like an Eclipse bug that the alignment is corrupted if styles are applied.

Table,
Tree {
	swt-header-color: #CCC;
	swt-header-background-color: #383D3F;
}
ohne CSS

@Nirus2000 Nirus2000 added the swt label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants