Skip to content

Commit

Permalink
Properties panel changes
Browse files Browse the repository at this point in the history
  • Loading branch information
miiizen committed Jul 31, 2024
1 parent f5fc525 commit 609e42c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ HorizontalFrameSettingsModel::HorizontalFrameSettingsModel(QObject* parent, IEle
void HorizontalFrameSettingsModel::createProperties()
{
m_frameWidth = buildPropertyItem(Pid::BOX_WIDTH);
m_leftGap= buildPropertyItem(Pid::TOP_GAP);
m_leftGap = buildPropertyItem(Pid::TOP_GAP);
m_rightGap = buildPropertyItem(Pid::BOTTOM_GAP);
m_shouldDisplayKeysAndBrackets = buildPropertyItem(Pid::CREATE_SYSTEM_HEADER);
m_isSizeSpatiumDependent = buildPropertyItem(Pid::SIZE_SPATIUM_DEPENDENT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ Column {
PropertyCheckBox {
id: matchStaffSize

navigation.name: "Follow staff size"
navigation.name: "Scale with staff size"
navigation.panel: root.navigationPanel
navigation.row: root.navigationRowStart + 1

text: qsTrc("inspector", "Follow staff size")
text: qsTrc("inspector", "Scale with staff size")
propertyItem: root.model ? root.model.isSizeSpatiumDependent : null
}

Expand All @@ -71,8 +71,6 @@ Column {
navigationRowStart: root.navigationRowStart + 1
}

SeparatorLine { anchors.margins: -12 }

HorizontalGapsSection {
id: horizontalGapsSection
leftGap: root.model ? root.model.leftGap : null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ Column {
PropertyCheckBox {
id: matchStaffSize

navigation.name: "Follow staff size"
navigation.name: "Scale with staff size"
navigation.panel: root.navigationPanel
navigation.row: root.navigationRowStart + 1

text: qsTrc("inspector", "Follow staff size")
text: qsTrc("inspector", "Scale with staff size")
propertyItem: root.model ? root.model.isSizeSpatiumDependent : null
}

Expand All @@ -64,8 +64,6 @@ Column {
navigationRowStart: root.navigationRowStart + 1
}

SeparatorLine { anchors.margins: -12 }

HorizontalMarginsSection {
id: horizontalMarginsSection
frameLeftMargin: root.model ? root.model.frameLeftMargin : null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ Column {
PropertyCheckBox {
id: matchStaffSize

navigation.name: "Follow staff size"
navigation.name: "Scale with staff size"
navigation.panel: root.navigationPanel
navigation.row: root.navigationRowStart + 1

text: qsTrc("inspector", "Follow staff size")
text: qsTrc("inspector", "Scale with staff size")
propertyItem: root.model ? root.model.isSizeSpatiumDependent : null
}

Expand All @@ -71,8 +71,6 @@ Column {
navigationRowStart: root.navigationRowStart + 1
}

SeparatorLine { anchors.margins: -12 }

VerticalGapsSection {
id: verticalGapsSection
gapAbove: root.model ? root.model.gapAbove : null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ Column {
anchors.rightMargin: 8
anchors.verticalCenter: subscriptOptionsButtonList.verticalCenter

navigation.name: "Follow staff size"
navigation.name: "Scale with staff size"
navigation.panel: root.navigationPanel
navigation.row: root.navigationRowStart + 1

text: qsTrc("inspector", "Follow staff size")
text: qsTrc("inspector", "Scale with staff size")
propertyItem: root.model ? root.model.isSizeSpatiumDependent : null
}

Expand Down

0 comments on commit 609e42c

Please sign in to comment.