EtheaDev / StyledComponents

Components similar to Delphi VCL Buttons, Toolbar, DbNavigator, BindNavigator, ButtonGroup and CategoryButtons with Custom Graphic Styles, and an advanced, full-customizable TaskDialog, also with animations!
Apache License 2.0
152 stars 34 forks source link

width of a separator present in a TStyledToolButton #29

Closed MAUROFAILO closed 2 months ago

MAUROFAILO commented 2 months ago

There is a mode to change the width of a separator present in a TStyledToolButton. At design thime the witdth is correct (is the width i impost manually) but a run time the width is too small.

carloBarazzetta commented 2 months ago

You can fix it removing line 990 from Vcl.StyledToolbar.pas and add this line (at position 397) in Vcl.StyledComponentsRegister.pas LNewButton.Width := DEFAULT_TOOLBUTTON_SEP_WIDTH; the rebuild packages...

MAUROFAILO commented 2 months ago

Perfect.

carloBarazzetta commented 2 months ago

Please give me a feed-back if the problem is resolved for you!