2
0
Johann ELSASS 4 жил өмнө
parent
commit
122a26b455
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      lazpaint/umenu.pas

+ 4 - 1
lazpaint/umenu.pas

@@ -538,7 +538,10 @@ begin
            else
              vfc.Height := vfc.PreferredSize.cy;
          end else
-           tb.Controls[j].Height := tbNormalHeight-3;
+         if tb.Controls[j] is TLabel then
+           tb.Controls[j].Height := tbNormalHeight - DoScaleY(3, OriginalDPI, FTargetDPI)
+         else
+           tb.Controls[j].Height := tbNormalHeight - DoScaleY(2, OriginalDPI, FTargetDPI);
          if tb.Controls[j] is TToolBar then
          begin
            minNextX := MaxLongInt;