Changeset 139 for trunk/UCore.pas


Ignore:
Timestamp:
Dec 2, 2016, 2:05:27 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Use CoolBar with mutliple bands instead of one toolbar with separators.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r114 r139  
    189189  // TODO: Transparent image scaling not working properly under linux Gtk2
    190190  // Also screen DPI is not correctly detected under linux Gtk2
     191  //Core.ScaleDPI1.DPI := Point(200, 200);
    191192  {$IFDEF WINDOWS}
     193  Core.ScaleDPI1.ScaleControl(FormMain.CoolBar1, Core.ScaleDPI1.DesignDPI);
    192194  Core.ScaleDPI1.ScaleImageList(ImageList1, Core.ScaleDPI1.DesignDPI);
    193   Core.ScaleDPI1.ScaleControl(FormMain.ToolBar1, Core.ScaleDPI1.DesignDPI);
    194195  {$ENDIF}
    195196end;
Note: See TracChangeset for help on using the changeset viewer.