Skip to content
Permalink
Browse files

High DPI: fix wrong height of status bar, by not setting it to what G…

…etTextHeight returns. Maybe also related to #483.
  • Loading branch information...
ansgarbecker committed Jul 6, 2019
1 parent e804db8 commit 2c5d6eb49ae7990869016d4cf749a8e2c6225d51
Showing with 0 additions and 1 deletion.
  1. +0 −1 source/main.pas
@@ -2478,7 +2478,6 @@ procedure TMainForm.FormResize(Sender: TObject);
Exit;

// Super intelligent calculation of status bar panel width
StatusBar.Height := GetTextHeight(StatusBar.Font) + 4;
w1 := CalcPanelWidth(110, 10);
w2 := CalcPanelWidth(140, 10);
w3 := CalcPanelWidth(170, 15);

0 comments on commit 2c5d6eb

Please sign in to comment.
You can’t perform that action at this time.