mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
FIX: Background color in Viewer with Qt and Lazarus 0.9.30.
This commit is contained in:
parent
5a228d95e0
commit
09c923c2e5
1 changed files with 5 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ procedure Register;
|
|||
implementation
|
||||
|
||||
uses
|
||||
LCLType, Graphics, Forms, LCLProc, Clipbrd, LConvEncoding, UnicodeUtils, LCLIntf
|
||||
LCLType, LCLVersion, Graphics, Forms, LCLProc, Clipbrd, LConvEncoding, UnicodeUtils, LCLIntf
|
||||
{$IF DEFINED(UNIX)}
|
||||
, BaseUnix, Unix
|
||||
{$ELSEIF DEFINED(WINDOWS)}
|
||||
|
|
@ -489,6 +489,10 @@ begin
|
|||
|
||||
Canvas.Font := Self.Font;
|
||||
Canvas.Brush.Color := Self.Color;
|
||||
{$IF DEFINED(LCLQT) and (LCL_FULLVERSION < 093100)}
|
||||
Canrvas.Brush.Style := bsSolid;
|
||||
Canrvas.FillRect(ClientRect);
|
||||
{$ENDIF}
|
||||
Canvas.Brush.Style := bsClear;
|
||||
FTextHeight := Canvas.TextHeight('Wg') + 2;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue