forked from qt-creator/qt-creator
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:
@@ -4,6 +4,7 @@
|
|||||||
import QtQuick
|
import QtQuick
|
||||||
|
|
||||||
ControlStyle {
|
ControlStyle {
|
||||||
|
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
|
||||||
baseIconFontSize: Values.baseFontSize
|
baseIconFontSize: Values.baseFontSize
|
||||||
radius: Values.smallRadius
|
radius: Values.smallRadius
|
||||||
|
|
||||||
|
|||||||
@@ -11,5 +11,6 @@ ControlStyle {
|
|||||||
background.hover: Values.themeControlBackground_topToolbarHover
|
background.hover: Values.themeControlBackground_topToolbarHover
|
||||||
background.globalHover: Values.themeControlBackground_topToolbarHover
|
background.globalHover: Values.themeControlBackground_topToolbarHover
|
||||||
border.idle: Values.controlOutline_toolbarIdle
|
border.idle: Values.controlOutline_toolbarIdle
|
||||||
|
border.hover: Values.themeControlBackground_topToolbarHover
|
||||||
text.hover: Values.themeTextColor
|
text.hover: Values.themeTextColor
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import QtQuick
|
|||||||
ControlStyle {
|
ControlStyle {
|
||||||
|
|
||||||
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
|
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
|
||||||
|
borderWidth: Values.border
|
||||||
baseIconFontSize: Values.topLevelComboIcon
|
baseIconFontSize: Values.topLevelComboIcon
|
||||||
radius: Values.smallRadius
|
radius: Values.smallRadius
|
||||||
|
|
||||||
@@ -26,7 +27,7 @@ ControlStyle {
|
|||||||
|
|
||||||
border: ControlStyle.BorderColors {
|
border: ControlStyle.BorderColors {
|
||||||
idle: Values.themeControlBackground_toolbarIdle
|
idle: Values.themeControlBackground_toolbarIdle
|
||||||
hover: Values.themeControlBackground_toolbarHover
|
hover: Values.themeControlBackground_topToolbarHover
|
||||||
interaction: Values.themeInteraction
|
interaction: Values.themeInteraction
|
||||||
disabled: Values.themeControlBackground_toolbarIdle
|
disabled: Values.themeControlBackground_toolbarIdle
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ QtObject {
|
|||||||
+ values.twoControlColumnGap
|
+ values.twoControlColumnGap
|
||||||
+ values.actionIndicatorWidth
|
+ 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 twoControlColumnWidthMax: 3 * values.twoControlColumnWidthMin
|
||||||
property real twoControlColumnWidth: values.twoControlColumnWidthMin
|
property real twoControlColumnWidth: values.twoControlColumnWidthMin
|
||||||
|
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ Rectangle {
|
|||||||
|
|
||||||
border: StudioTheme.ControlStyle.BorderColors {
|
border: StudioTheme.ControlStyle.BorderColors {
|
||||||
idle: StudioTheme.Values.themeControlBackground_toolbarIdle
|
idle: StudioTheme.Values.themeControlBackground_toolbarIdle
|
||||||
hover: StudioTheme.Values.themeControlBackground_toolbarHover
|
hover: StudioTheme.Values.themeControlBackground_topToolbarHover
|
||||||
interaction: StudioTheme.Values.themeInteraction
|
interaction: StudioTheme.Values.themeInteraction
|
||||||
disabled: StudioTheme.Values.themeControlBackground_toolbarIdle
|
disabled: StudioTheme.Values.themeControlBackground_toolbarIdle
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -101,6 +101,8 @@ DStabFocusButtonPress=highlightBlue
|
|||||||
DStabFocusBackground=highlightBlue
|
DStabFocusBackground=highlightBlue
|
||||||
DSnavigatorText=lightWhite
|
DSnavigatorText=lightWhite
|
||||||
DSpopupBackground=offBlack
|
DSpopupBackground=offBlack
|
||||||
|
DSinteractionHover=highlightHover
|
||||||
|
DSnavigatorTextSelected=highlightBlue
|
||||||
|
|
||||||
;contentious remap
|
;contentious remap
|
||||||
;background color for main form view, library, navigator, properties, connections
|
;background color for main form view, library, navigator, properties, connections
|
||||||
@@ -126,7 +128,6 @@ DSerrorColor=ffdf3a3a
|
|||||||
DSwarningColor=warning
|
DSwarningColor=warning
|
||||||
DSdisabledColor=ff707070
|
DSdisabledColor=ff707070
|
||||||
|
|
||||||
DSinteractionHover=ff74cbfc
|
|
||||||
|
|
||||||
DScontrolBackgroundInteraction=ff3d3d3d
|
DScontrolBackgroundInteraction=ff3d3d3d
|
||||||
DScontrolBackgroundDisabled=ff2e2f30
|
DScontrolBackgroundDisabled=ff2e2f30
|
||||||
@@ -213,7 +214,7 @@ DStabFocusIcon=ff000000
|
|||||||
DSnavigatorBranch=ff7c7b7b
|
DSnavigatorBranch=ff7c7b7b
|
||||||
DSnavigatorBranchIndicator=ff7c7b7b
|
DSnavigatorBranchIndicator=ff7c7b7b
|
||||||
DSnavigatorTextHover=ffffffff
|
DSnavigatorTextHover=ffffffff
|
||||||
DSnavigatorTextSelected=ff2aafd3
|
|
||||||
DSnavigatorIcon=ffffffff
|
DSnavigatorIcon=ffffffff
|
||||||
DSnavigatorIconHover=ffa1a1a1
|
DSnavigatorIconHover=ffa1a1a1
|
||||||
DSnavigatorIconSelected=ffffffff
|
DSnavigatorIconSelected=ffffffff
|
||||||
|
|||||||
Reference in New Issue
Block a user