mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:29:37 +02:00
toolbutton: dont draw rectangle around divider in design mode
git-svn-id: trunk@13905 -
This commit is contained in:
parent
221f810ea1
commit
543c7bfaab
@ -340,7 +340,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// draw separator (at runtime: just space, at designtime: a rectangle)
|
// draw separator (at runtime: just space, at designtime: a rectangle)
|
||||||
if (Style in [tbsSeparator,tbsDivider]) and (csDesigning in ComponentState) then
|
if (Style = tbsSeparator) and (csDesigning in ComponentState) then
|
||||||
begin
|
begin
|
||||||
Canvas.Brush.Color := clBackground;
|
Canvas.Brush.Color := clBackground;
|
||||||
Canvas.Pen.Color := clBlack;
|
Canvas.Pen.Color := clBlack;
|
||||||
|
Loading…
Reference in New Issue
Block a user