Changeset 114 for trunk/UCore.pas


Ignore:
Timestamp:
Nov 1, 2016, 10:58:53 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Disable images scaling under linux as it is not working correctly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r112 r114  
    187187procedure TCore.ScaleDPI;
    188188begin
     189  // TODO: Transparent image scaling not working properly under linux Gtk2
     190  // Also screen DPI is not correctly detected under linux Gtk2
     191  {$IFDEF WINDOWS}
    189192  Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI);
    190193  Core.ScaleDPI1.ScaleControl(FormMain.ToolBar1, Core.ScaleDPI1.DesignDPI);
     194  {$ENDIF}
    191195end;
    192196
Note: See TracChangeset for help on using the changeset viewer.