RRUZ / vcl-styles-utils

Extend and improve the Delphi VCL Styles
https://theroadtodelphi.wordpress.com/
329 stars 115 forks source link

Form caption Rect with TNCButton needs to adjust for "right-aligned" buttons #276

Open Himeko7 opened 4 years ago

Himeko7 commented 4 years ago

As it is now the form caption is always rendered after the last NCButton on the caption bar, this is a problem if we want some buttons on the right side of the bar before the min/max/close buttons. Ideally we could have a flag in the button's settings not to count its width towards the caption rect calculation, or maybe set a fixed coord where we want the caption drawn.