Reduced the heights of the general components to 30

This commit is contained in:
Eism 2020-12-18 18:21:20 +02:00 committed by pereverzev+v
parent f9db6176df
commit 5a9dfee2e6
11 changed files with 11 additions and 17 deletions

View file

@ -30,7 +30,6 @@ QmlDialog {
property var value: ""
width: 150
height: 32
onCurrentTextEdited: input.value = newTextValue
}

View file

@ -27,7 +27,7 @@ FocusableItem {
signal clicked
height: contentWrapper.height + 16
height: contentWrapper.height + 14
width: (Boolean(text) ? Math.max(contentWrapper.width + 32, privateProperties.isVertical ? 132 : 0) : contentWrapper.width + 16)
opacity: root.enabled ? 1.0 : ui.theme.itemOpacityDisabled

View file

@ -23,7 +23,7 @@ Item {
signal valueEdited(var newValue)
implicitHeight: 32
implicitHeight: 30
implicitWidth: parent.width
QtObject {

View file

@ -53,9 +53,6 @@ Rectangle {
anchors.right: parent.right
anchors.rightMargin: 20
width: 32
height: width
icon: IconCode.CLOSE_X_ROUNDED
normalStateColor: "transparent"

View file

@ -6,9 +6,9 @@ RadioButton {
default property Component contentComponent
implicitHeight: 32
implicitHeight: 30
implicitWidth: ListView.view ? (ListView.view.width - (ListView.view.spacing * (ListView.view.count - 1))) / ListView.view.count
: 32
: 30
spacing: 30

View file

@ -52,7 +52,7 @@ ComboBox {
displayText: currentIndex === -1 ? "--" : currentText
implicitHeight: 32
implicitHeight: 30
padding: 0
@ -143,7 +143,7 @@ ComboBox {
}
background: RoundedRectangle {
height: parent.height
height: root.implicitHeight
width: contentItem.width
color: ui.theme.buttonColor
@ -158,8 +158,8 @@ ComboBox {
indicator: RoundedRectangle {
id: indicatorCanvas
height: 32
width: 32
height: root.implicitHeight
width: height
topLeftRadius: 0
bottomLeftRadius: 0

View file

@ -7,7 +7,7 @@ import MuseScore.Ui 1.0
MenuItem {
id: root
implicitHeight: 32
implicitHeight: 30
implicitWidth: 220
property var hintIcon: checkable && checked ? IconCode.TICK : undefined

View file

@ -33,7 +33,7 @@ Rectangle {
valueInput.forceActiveFocus()
}
implicitHeight: 32
implicitHeight: 30
implicitWidth: parent.width
color: ui.theme.textFieldColor

View file

@ -130,7 +130,6 @@ Item {
anchors.rightMargin: 4
anchors.verticalCenter: parent.verticalCenter
height: 32
width: 72
textRoleName: "text"

View file

@ -7,7 +7,7 @@ import MuseScore.UiComponents 1.0
Rectangle {
id: root
height: 32
height: 30
visible: notationsView.count > 0
color: ui.theme.backgroundSecondaryColor

View file

@ -57,7 +57,6 @@ Item {
FlatButton {
id: morePalettesButton
height: searchTextInput.height
anchors.left: parent.left
anchors.right: searchTextButton.left
anchors.rightMargin: 8