|
@@ -538,7 +538,10 @@ begin
|
|
else
|
|
else
|
|
vfc.Height := vfc.PreferredSize.cy;
|
|
vfc.Height := vfc.PreferredSize.cy;
|
|
end else
|
|
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
|
|
if tb.Controls[j] is TToolBar then
|
|
begin
|
|
begin
|
|
minNextX := MaxLongInt;
|
|
minNextX := MaxLongInt;
|