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

Ugly drawing of selection in report mode when VCL Styles are used #743

Closed
luebbe opened this issue Nov 29, 2017 · 3 comments
Closed

Ugly drawing of selection in report mode when VCL Styles are used #743

luebbe opened this issue Nov 29, 2017 · 3 comments

Comments

@luebbe
Copy link
Contributor

luebbe commented Nov 29, 2017

When VCL styles are enabled, the highlight/selection of the treeview looks very ugly in report mode.

2017-11-29 11_29_38-demo
I'm specifically talking about the black/white rectangles around the indivdual columns and the selection

It looks like the general behaviour doesn't depend on the particular VCL style. Only the colors change. I have attached a demo project that uses 'Amakrits' and the result is just the same, only the rectangles are white now.

2017-11-29 12_07_39-form4

Test Project: vstTest.zip

luebbe added a commit to luebbe/Virtual-TreeView that referenced this issue Nov 29, 2017
- Return current styles highlight color as FocusedSelectionBorderColor
@luebbe
Copy link
Contributor Author

luebbe commented Nov 29, 2017

I submitted a PR that fixes the "white rectangle" problem when VCL styles are enabled for both screenshots above. The black rectangles in the first screenshot were caused by using a "too old" version of VirtualTreeView in my test application.

joachimmarder pushed a commit that referenced this issue Nov 29, 2017
@joachimmarder
Copy link
Contributor

Thanks for the PR, grid mode looks much better now with VCL themes.

@luebbe
Copy link
Contributor Author

luebbe commented Nov 30, 2017

As a sidenote, I might also take a look at the highlight font when VCL Styles are enabled. I guess the real highlight font in Amakrits is not the same, almost unreadable, gray as the normal font.

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

2 participants