Clarified text offset title to "Vertical offset"
This commit is contained in:
parent
7e74df0ad7
commit
0150f271b2
2 changed files with 4 additions and 4 deletions
|
@ -92,8 +92,7 @@ void TextLineSettingsModel::createProperties()
|
|||
if (isTextVisible(ContiniousText)) {
|
||||
m_continiousText = buildPropertyItem(Ms::Pid::CONTINUE_TEXT);
|
||||
|
||||
m_continiousTextVerticalOffset = buildPropertyItem(Ms::Pid::CONTINUE_TEXT_OFFSET, [this](const Ms::Pid pid,
|
||||
const QVariant& newValue) {
|
||||
m_continiousTextVerticalOffset = buildPropertyItem(Ms::Pid::CONTINUE_TEXT_OFFSET, [this](const Ms::Pid pid, const QVariant& newValue) {
|
||||
onPropertyValueChanged(pid, QPointF(0, newValue.toDouble()));
|
||||
});
|
||||
}
|
||||
|
|
|
@ -58,6 +58,7 @@ FocusableItem {
|
|||
|
||||
OffsetSection {
|
||||
id: beginningTextOffsetSection
|
||||
titleText: qsTrc("inspector", "Vertical offset")
|
||||
verticalOffset: root.model ? root.model.beginingTextVerticalOffset : null
|
||||
|
||||
navigationPanel: root.navigationPanel
|
||||
|
@ -77,6 +78,7 @@ FocusableItem {
|
|||
|
||||
OffsetSection {
|
||||
id: continiousTextOffsetSection
|
||||
titleText: qsTrc("inspector", "Vertical offset")
|
||||
verticalOffset: root.model ? root.model.continiousTextVerticalOffset : null
|
||||
|
||||
navigationPanel: root.navigationPanel
|
||||
|
@ -87,7 +89,6 @@ FocusableItem {
|
|||
|
||||
TextSection {
|
||||
id: endTextSection
|
||||
|
||||
titleText: qsTrc("inspector", "End text")
|
||||
propertyItem: root.model ? root.model.endText : null
|
||||
|
||||
|
@ -97,7 +98,7 @@ FocusableItem {
|
|||
|
||||
OffsetSection {
|
||||
id: endTextOffsetSection
|
||||
|
||||
titleText: qsTrc("inspector", "Vertical offset")
|
||||
verticalOffset: root.model ? root.model.endTextVerticalOffset : null
|
||||
|
||||
navigationPanel: root.navigationPanel
|
||||
|
|
Loading…
Reference in a new issue