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

Client size of form reduced when big borders in style #281

Open
lchris789 opened this issue Nov 18, 2020 · 1 comment
Open

Client size of form reduced when big borders in style #281

lchris789 opened this issue Nov 18, 2020 · 1 comment

Comments

@lchris789
Copy link

lchris789 commented Nov 18, 2020

Hello, first thank you all, styles would be unusable without your work.

Currently I use the following workaround from https://stackoverflow.com/questions/9446827/vcl-styles-client-size-of-form-reduced from stackoverflow to solve an issue with many styles increasing forrm borders.
Instead of increasing form size the style engine decreases client size and components close to the border get cropped without this fix.
Unfortunately, this fix is great but is reported not to work with high-dpi.

Do you think you could add such a fix and also find out why it does not work wioth high dpi ?

Thank you very much
PS: a good example of style with big borders is "Material patterns blue 1.0" available thru Getit

@lchris789
Copy link
Author

lchris789 commented Nov 25, 2020

+ I believe the proposed workaround also does not work with system dialogs. Very visible when UseLatestCommonDialogs := False;

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

1 participant