summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Fehlauer <[email protected]>2018-03-22 22:25:32 +0100
committerHenrik Fehlauer <[email protected]>2018-03-22 22:26:55 +0100
commitab8a25adca5d70ccdb271f0fec0858fc97ff929f (patch)
treeef098b41451b49068284d2d4f152926a38688245
parentef8bfd4035af58c184643857302fd55dcb94e5ab (diff)
Polish wording in crop ratio combobox
Summary: 576cfa68ba01 enabled the clear button in the {nav Crop} ratio combobox. This resulted in an even wider toolbar at the bottom, because the combobox automatically adjusts its width to its widest entry, potentially cutting off the toolbar at the right even more than before. As all other entries also lack the "size" moniker, we can just drop it for {nav ISO size (A4, A3, …)}. Even the original entry before the change in a028ea5c43af lacked "size" in the naming. Test Plan Open {nav Crop} tool in {nav Advanced} mode and inspect the ratio combobox (now with consistent wording) as well as the width of the crop toolbar (now less wide). Reviewers: #gwenview, ngraham, huoni Reviewed By: ngraham Differential Revision: https://phabricator.kde.org/D11579
-rw-r--r--lib/crop/cropwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crop/cropwidget.cpp b/lib/crop/cropwidget.cpp
index 5739671..128fa2d 100644
--- a/lib/crop/cropwidget.cpp
+++ b/lib/crop/cropwidget.cpp
@@ -190,14 +190,14 @@ struct CropWidgetPrivate : public Ui_CropWidget
Q_FOREACH(const QSizeF& size, ratioList) {
addRatioToComboBox(size);
}
- addRatioToComboBox(QSizeF(sqrt2, 1), i18n("ISO Size (A4, A3...)"));
+ addRatioToComboBox(QSizeF(sqrt2, 1), i18n("ISO (A4, A3...)"));
addRatioToComboBox(QSizeF(11, 8.5), i18n("US Letter"));
addSectionHeaderToComboBox(i18n("Portrait"));
Q_FOREACH(QSizeF size, ratioList) {
size.transpose();
addRatioToComboBox(size);
}
- addRatioToComboBox(QSizeF(1, sqrt2), i18n("ISO Size (A4, A3...)"));
+ addRatioToComboBox(QSizeF(1, sqrt2), i18n("ISO (A4, A3...)"));
addRatioToComboBox(QSizeF(8.5, 11), i18n("US Letter"));
ratioComboBox->setMaxVisibleItems(ratioComboBox->count());