[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] gsoc-2022-chariri-3 f532d57 05/36: [ftinspect] Remove
From: |
Werner Lemberg |
Subject: |
[freetype2-demos] gsoc-2022-chariri-3 f532d57 05/36: [ftinspect] Remove redundant text on the GUI. |
Date: |
Wed, 27 Jul 2022 06:32:44 -0400 (EDT) |
branch: gsoc-2022-chariri-3
commit f532d57ccf88ff10f598df8eb4fa2eb426ad3363
Author: Charlie Jiang <w@chariri.moe>
Commit: Charlie Jiang <w@chariri.moe>
[ftinspect] Remove redundant text on the GUI.
Removed "Count:" indicator showing the display count because it serves
little value. Removed "for Fancy/Stroked" text from the label because
graying out elements is already enough.
* src/ftinspect/panels/continuous.cpp: Remove "Count:" indicator.
* src/ftinspect/widgets/glyphindexselector.cpp: Remove text from label.
---
src/ftinspect/panels/continuous.cpp | 8 ++++----
src/ftinspect/widgets/glyphindexselector.cpp | 5 ++---
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/ftinspect/panels/continuous.cpp
b/src/ftinspect/panels/continuous.cpp
index a79f06a..c78a825 100644
--- a/src/ftinspect/panels/continuous.cpp
+++ b/src/ftinspect/panels/continuous.cpp
@@ -333,10 +333,10 @@ ContinousAllGlyphsTab::createLayout()
modeLabel_ = new QLabel(tr("Mode:"), this);
charMapLabel_ = new QLabel(tr("Char Map:"), this);
- xEmboldeningLabel_ = new QLabel(tr("Hori. Embolding (for Fancy):"), this);
- yEmboldeningLabel_ = new QLabel(tr("Vert. Embolding (for Fancy):"), this);
- slantLabel_ = new QLabel(tr("Slanting (for Fancy):"), this);
- strokeRadiusLabel_ = new QLabel(tr("Stroke Radius (for Stroked):"), this);
+ xEmboldeningLabel_ = new QLabel(tr("Hori. Embolding:"), this);
+ yEmboldeningLabel_ = new QLabel(tr("Vert. Embolding:"), this);
+ slantLabel_ = new QLabel(tr("Slanting:"), this);
+ strokeRadiusLabel_ = new QLabel(tr("Stroke Radius:"), this);
xEmboldeningSpinBox_ = new QDoubleSpinBox(this);
yEmboldeningSpinBox_ = new QDoubleSpinBox(this);
diff --git a/src/ftinspect/widgets/glyphindexselector.cpp
b/src/ftinspect/widgets/glyphindexselector.cpp
index d926f53..f5a8cea 100644
--- a/src/ftinspect/widgets/glyphindexselector.cpp
+++ b/src/ftinspect/widgets/glyphindexselector.cpp
@@ -111,12 +111,11 @@ GlyphIndexSelector::updateLabel()
.arg(numberRenderer_(indexSpinBox_->maximum())));
else
indexLabel_->setText(
- QString("%1~%2\nCount: %3\nLimit: %4")
+ QString("%1~%2\nLimit: %4")
.arg(numberRenderer_(indexSpinBox_->value()))
.arg(numberRenderer_(
qBound(indexSpinBox_->value(),
indexSpinBox_->value() + showingCount_ - 1, INT_MAX)))
- .arg(showingCount_)
.arg(numberRenderer_(indexSpinBox_->maximum())));
}
@@ -142,7 +141,7 @@ GlyphIndexSelector::createLayout()
indexSpinBox_->setFixedWidth(80);
indexSpinBox_->setWrapping(false);
- indexLabel_ = new QLabel("0\nCount: 0\nLimit: 0");
+ indexLabel_ = new QLabel("0\nLimit: 0");
indexLabel_->setMinimumWidth(200);
setButtonNarrowest(toStartButton_);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] gsoc-2022-chariri-3 f532d57 05/36: [ftinspect] Remove redundant text on the GUI.,
Werner Lemberg <=