mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 14:29:31 +02:00
Qt: fixed LCLIntf.Frame3D. When FillBrush isn't filled then draw shaded box without brush (applies painter brush).issue #24445
git-svn-id: trunk@41291 -
This commit is contained in:
parent
bdec439cd2
commit
15dc88089b
@ -2534,12 +2534,8 @@ begin
|
||||
if lineWidth > 1 then
|
||||
q_DrawWinPanel(Widget, x, y, w, h, Palette, Sunken, FillBrush)
|
||||
else
|
||||
begin
|
||||
if FillBrush = nil then
|
||||
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, QPalette_background(Palette))
|
||||
else
|
||||
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, FillBrush);
|
||||
end;
|
||||
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, FillBrush);
|
||||
|
||||
if AppPalette <> nil then
|
||||
begin
|
||||
QPalette_destroy(AppPalette);
|
||||
|
Loading…
Reference in New Issue
Block a user