vcl-styles-utils icon indicating copy to clipboard operation
vcl-styles-utils copied to clipboard

Client size of form reduced when big borders in style

Open lchris789 opened this issue 4 years ago • 1 comments

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 avatar Nov 18 '20 09:11 lchris789

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

lchris789 avatar Nov 25 '20 15:11 lchris789