Ignore:
Timestamp:
May 13, 2024, 7:00:49 PM (2 months ago)
Author:
chronos
Message:
  • Fixed: Workaround for incorrectly styling TEdit controls under Gtk2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/DpiControls/Dpi.Controls.pas

    r523 r570  
    244244  public
    245245    Controls: TDpiControls;
     246    function HandleAllocated: Boolean;
    246247    procedure ScreenChanged; override;
    247248    function ControlCount: Integer;
     
    536537end;
    537538
     539function TWinControl.HandleAllocated: Boolean;
     540begin
     541  Result := GetNativeWinControl.HandleAllocated;
     542end;
     543
    538544procedure TWinControl.ScreenChanged;
    539545var
Note: See TracChangeset for help on using the changeset viewer.