Skip to content

Commit 6420c5a

Browse files
committed
Merge pull request #319 from crowning-/v0.12.0.x
Included new "Peers list" tab into CSS theme
2 parents 53aba0f + 5873a5e commit 6420c5a

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

src/qt/forms/rpcconsole.ui

100644100755
+4-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>740</width>
9+
<width>769</width>
1010
<height>485</height>
1111
</rect>
1212
</property>
@@ -717,6 +717,8 @@
717717
<property name="font">
718718
<font>
719719
<pointsize>10</pointsize>
720+
<weight>75</weight>
721+
<bold>true</bold>
720722
</font>
721723
</property>
722724
<property name="cursor">
@@ -726,7 +728,7 @@
726728
<string>Select a peer to view detailed information.</string>
727729
</property>
728730
<property name="alignment">
729-
<set>Qt::AlignHCenter|Qt::AlignTop</set>
731+
<set>Qt::AlignCenter</set>
730732
</property>
731733
<property name="wordWrap">
732734
<bool>true</bool>

src/qt/res/css/drkblue.css

+4
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,10 @@ min-height:25px;
651651
min-width:180px;
652652
}
653653

654+
QDialog#RPCConsole QWidget#tab_peers QLabel#peerHeading { /* Peers Info Header */
655+
color:#3398CC;
656+
}
657+
654658
QDialog#RPCConsole QPushButton#openDebugLogfileButton {
655659
max-width:60px;
656660
}

src/qt/rpcconsole.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ RPCConsole::RPCConsole(QWidget *parent) :
233233
startExecutor();
234234
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS);
235235

236-
ui->detailWidget->hide();
237236
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
238237

239238
clear();
@@ -596,7 +595,6 @@ void RPCConsole::peerLayoutChanged()
596595
// detail node dissapeared from table (node disconnected)
597596
fUnselect = true;
598597
cachedNodeid = -1;
599-
ui->detailWidget->hide();
600598
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
601599
}
602600
else

src/qt/rpcconsole.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ public slots:
102102

103103
enum ColumnWidths
104104
{
105-
ADDRESS_COLUMN_WIDTH = 200,
106-
SUBVERSION_COLUMN_WIDTH = 100,
105+
ADDRESS_COLUMN_WIDTH = 170,
106+
SUBVERSION_COLUMN_WIDTH = 140,
107107
PING_COLUMN_WIDTH = 80
108108
};
109109

0 commit comments

Comments
 (0)