summary refs log tree commit diff
path: root/src/ui/TextField.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 15:14:37 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 15:14:37 +0200
commitf36e498503860a5c3051ef202c60b61876150c61 (patch)
tree79477587e672fd657ba9ebd1bb322edda72618e7 /src/ui/TextField.cc
parentUse span tags to prevent html escaping (diff)
downloadnheko-f36e498503860a5c3051ef202c60b61876150c61.tar.xz
Update system theme
Diffstat (limited to '')
-rw-r--r--src/ui/TextField.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/TextField.cc b/src/ui/TextField.cc
index d80d6466..ff662a11 100644
--- a/src/ui/TextField.cc
+++ b/src/ui/TextField.cc
@@ -15,7 +15,7 @@ TextField::TextField(QWidget *parent)
 
         state_machine_    = new TextFieldStateMachine(this);
         label_            = 0;
-        label_font_size_  = 13;
+        label_font_size_  = 15;
         show_label_       = false;
         background_color_ = QColor("white");
 
@@ -25,7 +25,7 @@ TextField::TextField(QWidget *parent)
         setTextMargins(0, 4, 0, 6);
 
         QFont font("Open Sans");
-        font.setPixelSize(12);
+        font.setPixelSize(14);
         setFont(font);
 
         state_machine_->start();
@@ -341,8 +341,8 @@ TextFieldLabel::TextFieldLabel(TextField *parent)
         scale_ = 1;
         color_ = parent->labelColor();
 
-        QFontDatabase db;
-        QFont font(db.font("Open Sans", "Medium", parent->labelFontSize()));
+        QFont font("Open Sans SemiBold");
+        font.setPixelSize(parent->labelFontSize());
         font.setLetterSpacing(QFont::PercentageSpacing, 102);
         setFont(font);
 }