Merge pull request #187 from fsb4000/Qt
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 29 Mar 2015 14:30:42 +0000 (17:30 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Sun, 29 Mar 2015 14:30:42 +0000 (17:30 +0300)
убраны фиксированные размеры шрифтов.

src/qt/forms/overviewpage.ui
src/qt/overviewpage.cpp
src/qt/rpcconsole.cpp

index b78075f..ae2a04b 100644 (file)
@@ -31,7 +31,6 @@
            <widget class="QLabel" name="label_5">
             <property name="font">
              <font>
-              <pointsize>11</pointsize>
               <weight>75</weight>
               <bold>true</bold>
              </font>
index 9c77a21..5e991f5 100644 (file)
@@ -106,6 +106,11 @@ OverviewPage::OverviewPage(QWidget *parent) :
 {
     ui->setupUi(this);
 
+    QFont balance = QApplication::font();
+    balance.setPointSize(balance.pointSize() * 1.5);
+    balance.setBold(true);
+    ui->label_5->setFont(balance);
+
     // Recent transactions
     ui->listTransactions->setItemDelegate(txdelegate);
     ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));
index b61cecf..89d06f6 100644 (file)
@@ -317,7 +317,7 @@ void RPCConsole::clear()
     ui->messagesWidget->document()->setDefaultStyleSheet(
                 "table { }"
                 "td.time { color: #808080; padding-top: 3px; } "
-                "td.message { font-family: Monospace; font-size: 12px; } "
+                "td.message { font-family: Monospace; } "
                 "td.cmd-request { color: #006060; } "
                 "td.cmd-error { color: red; } "
                 "b { color: #006060; } "