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

How do I modify this? #123

Open
DiogoM-Almeida opened this issue Nov 12, 2023 · 1 comment
Open

How do I modify this? #123

DiogoM-Almeida opened this issue Nov 12, 2023 · 1 comment

Comments

@DiogoM-Almeida
Copy link

I want to create a header using a TFrame, where in this TFrame there will be a TButtom on the left, a TLabel in the center and another TButtom on the right.

The problem is that when I try to change the background using one of these components, the TButtom stops being rounded, in addition to remaining white, instead of taking on the color I configured.

image

image

@rdbende
Copy link
Owner

rdbende commented Nov 13, 2023

The widgets' style in this are made from a raster images and for performance reasons they can't include transparent areas. Therefore all image element has a solid background color, hence you can't configure the background color of the widgets when using this theme.
What you see as being rounded is basically just a clever hack.

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