Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Switch position character and paragraph properties in text properties docker.

Wolthera van Hövell tot Westerflier465972482cf1
diff --git a/plugins/dockers/textproperties/qml/TextProperties.qml b/plugins/dockers/textproperties/qml/TextProperties.qml
index b4e8651016..de114155b3 100644
--- a/plugins/dockers/textproperties/qml/TextProperties.qml
+++ b/plugins/dockers/textproperties/qml/TextProperties.qml
@@ -61,10 +61,10 @@ Control {
anchors.left: parent.left;
anchors.top: parent.top;
Kis.TabButtonBase {
- text: i18nc("@title:tab", "Character")
+ text: i18nc("@title:tab", "Paragraph")
}
Kis.TabButtonBase {
- text: i18nc("@title:tab", "Paragraph")
+ text: i18nc("@title:tab", "Character")
}
Kis.TabButtonBase {
text: i18nc("@title:tab", "Preset")
@@ -79,24 +79,24 @@ Control {
anchors.top: tabs.bottom;
TextPropertyBaseList {
- id: characterPropertyList;
- propertyType: TextPropertyConfigModel.Character;
+ id: paragraphPropertyList;
+ propertyType: TextPropertyConfigModel.Paragraph;
configModel: root.configModel;
canvasDPI: root.canvasDPI;
locales: canvasObserver.locales;
- enabled: canvasObserver.characterProperties.enabled;
- propertiesModel: canvasObserver.characterProperties;
+ propertiesModel: canvasObserver.textProperties;
onCallPropertyVisibilityConfig: canvasObserver.callModalTextPropertyConfigDialog();
}
TextPropertyBaseList {
- id: paragraphPropertyList;
- propertyType: TextPropertyConfigModel.Paragraph;
+ id: characterPropertyList;
+ propertyType: TextPropertyConfigModel.Character;
configModel: root.configModel;
canvasDPI: root.canvasDPI;
locales: canvasObserver.locales;
- propertiesModel: canvasObserver.textProperties;
+ enabled: canvasObserver.characterProperties.enabled;
+ propertiesModel: canvasObserver.characterProperties;
onCallPropertyVisibilityConfig: canvasObserver.callModalTextPropertyConfigDialog();
}