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
|
||||
|
||||
ControlStyle {
|
||||
controlSize: Qt.size(Values.topLevelComboWidth, Values.topLevelComboHeight)
|
||||
baseIconFontSize: Values.baseFontSize
|
||||
radius: Values.smallRadius
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user