QmlDesigner: Minor style adjustments

Change-Id: Ieafb8c16aed985847ed1dd66a8ace05c955601d6
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Brook Cronin
2023-02-09 22:16:52 +01:00
parent c2af166e2a
commit b35d02f0d9
6 changed files with 9 additions and 5 deletions

View File

@@ -4,6 +4,7 @@
import QtQuick
ControlStyle {
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
baseIconFontSize: Values.baseFontSize
radius: Values.smallRadius

View File

@@ -11,5 +11,6 @@ ControlStyle {
background.hover: Values.themeControlBackground_topToolbarHover
background.globalHover: Values.themeControlBackground_topToolbarHover
border.idle: Values.controlOutline_toolbarIdle
border.hover: Values.themeControlBackground_topToolbarHover
text.hover: Values.themeTextColor
}

View File

@@ -6,6 +6,7 @@ import QtQuick
ControlStyle {
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
borderWidth: Values.border
baseIconFontSize: Values.topLevelComboIcon
radius: Values.smallRadius
@@ -26,7 +27,7 @@ ControlStyle {
border: ControlStyle.BorderColors {
idle: Values.themeControlBackground_toolbarIdle
hover: Values.themeControlBackground_toolbarHover
hover: Values.themeControlBackground_topToolbarHover
interaction: Values.themeInteraction
disabled: Values.themeControlBackground_toolbarIdle
}

View File

@@ -161,7 +161,7 @@ QtObject {
+ values.twoControlColumnGap
+ values.actionIndicatorWidth
property real twoControlColumnWidthMin: 3 * values.height - 2 * values.border
property real twoControlColumnWidthMin: 3 * values.height - 2 * values.border - 10
property real twoControlColumnWidthMax: 3 * values.twoControlColumnWidthMin
property real twoControlColumnWidth: values.twoControlColumnWidthMin

View File

@@ -89,7 +89,7 @@ Rectangle {
border: StudioTheme.ControlStyle.BorderColors {
idle: StudioTheme.Values.themeControlBackground_toolbarIdle
hover: StudioTheme.Values.themeControlBackground_toolbarHover
hover: StudioTheme.Values.themeControlBackground_topToolbarHover
interaction: StudioTheme.Values.themeInteraction
disabled: StudioTheme.Values.themeControlBackground_toolbarIdle
}

View File

@@ -101,6 +101,8 @@ DStabFocusButtonPress=highlightBlue
DStabFocusBackground=highlightBlue
DSnavigatorText=lightWhite
DSpopupBackground=offBlack
DSinteractionHover=highlightHover
DSnavigatorTextSelected=highlightBlue
;contentious remap
;background color for main form view, library, navigator, properties, connections
@@ -126,7 +128,6 @@ DSerrorColor=ffdf3a3a
DSwarningColor=warning
DSdisabledColor=ff707070
DSinteractionHover=ff74cbfc
DScontrolBackgroundInteraction=ff3d3d3d
DScontrolBackgroundDisabled=ff2e2f30
@@ -213,7 +214,7 @@ DStabFocusIcon=ff000000
DSnavigatorBranch=ff7c7b7b
DSnavigatorBranchIndicator=ff7c7b7b
DSnavigatorTextHover=ffffffff
DSnavigatorTextSelected=ff2aafd3
DSnavigatorIcon=ffffffff
DSnavigatorIconHover=ffa1a1a1
DSnavigatorIconSelected=ffffffff