QmlDesigner: Add pixel metric tool bar extension

Change-Id: I65f0ce65113f9d8b4af0ea95a914e2fd4fc2bb07
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Henning Gruendl
2023-02-21 11:22:27 +01:00
committed by Henning Gründl
parent e876f79807
commit d105b20c7e

View File

@@ -592,6 +592,10 @@ int ManhattanStyle::pixelMetric(PixelMetric metric, const QStyleOption *option,
if (qobject_cast<const QLineEdit*>(widget) && panelWidget(widget))
return 1;
break;
case PM_ToolBarExtensionExtent:
if (StyleHelper::isQDSTheme())
retval = 29;
break;
default:
break;
}