From 8223e0d34fb0858235a1b080629e1e37db499acf Mon Sep 17 00:00:00 2001 From: crowning- Date: Sun, 26 Apr 2015 00:58:50 +0200 Subject: [PATCH] Fix for addressbook label problem on Windows --- src/qt/guiutil.cpp | 3 +-- src/qt/res/css/drkblue.css | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index aa53ec9088..3832c770b5 100755 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -788,8 +788,7 @@ QString loadStyleSheet() settings.setValue("theme", "drkblue"); } -// QFile qFile(cssName); - QFile qFile("drkblue.css"); + QFile qFile(cssName); if (qFile.open(QFile::ReadOnly)) { styleSheet = QLatin1String(qFile.readAll()); } diff --git a/src/qt/res/css/drkblue.css b/src/qt/res/css/drkblue.css index 4e9d8d2310..98962498a8 100755 --- a/src/qt/res/css/drkblue.css +++ b/src/qt/res/css/drkblue.css @@ -581,6 +581,10 @@ QWidget#AddressBookPage QTableView { /* Address Listing */ font-size:12px; } +QWidget#AddressBookPage QHeaderView::section { /* Min width for Windows fix */ +min-width:260px; +} + /* SETTINGS MENU */ /* Encrypt Wallet and Change Passphrase Dialog */