QmlDesigner: Fix hex label eliding in ColorEditor

Change-Id: I144511f8cfe4caabaf84d19331a6cb4222884cdf
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2021-10-21 15:18:23 +02:00
committed by Henning Gründl
parent 260d323a85
commit 92cb2427f8
2 changed files with 3 additions and 3 deletions

View File

@@ -787,7 +787,9 @@ SecondColumnLayout {
ControlLabel {
text: "Hex"
width: StudioTheme.Values.colorEditorPopupHexLabelWidth
width: 2 * StudioTheme.Values.colorEditorPopupSpinBoxWidth
+ StudioTheme.Values.controlGap
horizontalAlignment: Text.AlignLeft
}
}

View File

@@ -199,8 +199,6 @@ QtObject {
property real colorEditorPopupCmoboBoxWidth: 110
property real colorEditorPopupSpinBoxWidth: 54
property real colorEditorPopupHexLabelWidth: 20
// Theme Colors
property string themePanelBackground: Theme.color(Theme.DSpanelBackground)