Ignore:
Timestamp:
Jan 19, 2018, 10:32:39 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: Main toolbar DPI scaling.
Location:
trunk/Forms
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms

    • Property svn:ignore set to
      *.lrj
  • trunk/Forms/UFormMain.pas

    r165 r166  
    8080    SaveDialog1: TSaveDialog;
    8181    StatusBar1: TStatusBar;
    82     ToolBar1: TToolBar;
    83     ToolBar2: TToolBar;
    84     ToolBar3: TToolBar;
    85     ToolBar4: TToolBar;
     82    ToolBarFile: TToolBar;
     83    ToolBarManage: TToolBar;
     84    ToolBarOther: TToolBar;
     85    ToolBarFilter: TToolBar;
    8686    ToolButton1: TToolButton;
    8787    ToolButton11: TToolButton;
     
    189189  I: Integer;
    190190begin
    191   for I := 0 to ToolBar1.ButtonCount - 1 do
    192     ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption;
    193   for I := 0 to ToolBar2.ButtonCount - 1 do
    194     ToolBar2.Buttons[I].Hint := ToolBar2.Buttons[I].Caption;
    195   for I := 0 to ToolBar3.ButtonCount - 1 do
    196     ToolBar3.Buttons[I].Hint := ToolBar3.Buttons[I].Caption;
    197   for I := 0 to ToolBar4.ButtonCount - 1 do
    198     ToolBar4.Buttons[I].Hint := ToolBar4.Buttons[I].Caption;
     191  for I := 0 to ToolBarFile.ButtonCount - 1 do
     192    ToolBarFile.Buttons[I].Hint := ToolBarFile.Buttons[I].Caption;
     193  for I := 0 to ToolBarManage.ButtonCount - 1 do
     194    ToolBarManage.Buttons[I].Hint := ToolBarManage.Buttons[I].Caption;
     195  for I := 0 to ToolBarOther.ButtonCount - 1 do
     196    ToolBarOther.Buttons[I].Hint := ToolBarOther.Buttons[I].Caption;
     197  for I := 0 to ToolBarFilter.ButtonCount - 1 do
     198    ToolBarFilter.Buttons[I].Hint := ToolBarFilter.Buttons[I].Caption;
    199199  PanelMain.ControlStyle := PanelMain.ControlStyle + [csOpaque];
    200200  PanelParam.ControlStyle := PanelParam.ControlStyle + [csOpaque];
Note: See TracChangeset for help on using the changeset viewer.