Skip to content

Commit

Permalink
style dialog corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-spa committed Jan 10, 2025
1 parent 4610a8a commit 616599c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ GroupBox {
spacing: 4

background: Rectangle {
x: root.leftInset
y: root.topInset + root.implicitLabelHeight + root.spacing
y: root.topPadding - root.padding

width: root.width - x - root.rightInset
height: root.height - y - root.bottomInset
width: parent.width
height: root.height - y

color: ui.theme.backgroundPrimaryColor
border.color: ui.theme.strokeColor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ ScrollView {
IncrementalPropertyControl {
Layout.preferredWidth: 100
decimals: 2
step: 0.1
measureUnitsSymbol: 'sp'

currentValue: parent.numDistStyle.value
Expand Down Expand Up @@ -388,20 +389,20 @@ ScrollView {
}
}


CheckBox {
id: showCourtesy
text: qsTrc("notation/editstyle/timesignatures", "Show courtesy time signatures")
checked: model.genCourtesyTimesig.value === true
onClicked: model.genCourtesyTimesig.value = !model.genCourtesyTimesig.value
}

StyledGroupBox {
Layout.fillWidth: true
visible: model.timeSigPlacement.value === 1

label: CheckBox {
id: showCourtesy
text: qsTrc("notation/editstyle/timesignatures", "Show courtesy time signatures")
checked: model.genCourtesyTimesig.value === true
onClicked: model.genCourtesyTimesig.value = !model.genCourtesyTimesig.value
}
label: null

RowLayout {
anchors.topMargin: 20
id: courtesyAboveVSMargin
enabled: model.genCourtesyTimesig.value === true
width: parent.width
Expand Down Expand Up @@ -432,7 +433,7 @@ ScrollView {
}

RoundedRadioButton {
text: qsTrc("notation/editstyle/timesignatures", "Create space")
text: qsTrc("notation/editstyle/timesignatures", "Inset barline")
checked: courtesyAboveVSMargin.timeSigVsMarginStyle.value === 2
onToggled: courtesyAboveVSMargin.timeSigVsMarginStyle.value = 2
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 616599c

Please sign in to comment.