From 4170a9a722b5a5dcb4715fd3c578d18b5e4b25de Mon Sep 17 00:00:00 2001 From: doitux Date: Fri, 8 Jun 2012 12:34:55 +0200 Subject: [PATCH] small set label changes, bigger touch field for show cards button --- src/gui/qt/gui_800x480/gametable_800x480.ui | 39 ++++++++++--------- .../qt/gui_800x480/mymessagedialog_800x480.ui | 6 +++ src/gui/qt/styles/gametablestylereader.cpp | 2 +- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/src/gui/qt/gui_800x480/gametable_800x480.ui b/src/gui/qt/gui_800x480/gametable_800x480.ui index 2d21f0b5..15f97600 100644 --- a/src/gui/qt/gui_800x480/gametable_800x480.ui +++ b/src/gui/qt/gui_800x480/gametable_800x480.ui @@ -207,7 +207,7 @@ 57 - 123 + 122 100 15 @@ -555,7 +555,7 @@ p, li { white-space: pre-wrap; } 57 - 0 + 1 100 15 @@ -949,7 +949,7 @@ p, li { white-space: pre-wrap; } 57 - 123 + 122 100 15 @@ -1284,7 +1284,7 @@ p, li { white-space: pre-wrap; } 57 - 123 + 122 100 15 @@ -1619,7 +1619,7 @@ p, li { white-space: pre-wrap; } 57 - 123 + 122 100 15 @@ -2038,7 +2038,7 @@ p, li { white-space: pre-wrap; } 57 - 123 + 122 100 15 @@ -2386,7 +2386,7 @@ p, li { white-space: pre-wrap; } 57 - 0 + 1 100 15 @@ -3257,7 +3257,7 @@ p, li { white-space: pre-wrap; } 57 - 0 + 1 100 15 @@ -3592,7 +3592,7 @@ p, li { white-space: pre-wrap; } 57 - 0 + 1 100 15 @@ -3772,24 +3772,27 @@ p, li { white-space: pre-wrap; } - 68 - 64 - 80 - 25 + 58 + 47 + 100 + 60 - 80 - 25 + 100 + 60 - 80 - 25 + 100 + 60 + + Qt::NoFocus + Show! @@ -3952,7 +3955,7 @@ p, li { white-space: pre-wrap; } 57 - 0 + 1 100 15 diff --git a/src/gui/qt/gui_800x480/mymessagedialog_800x480.ui b/src/gui/qt/gui_800x480/mymessagedialog_800x480.ui index 103ae28f..c70db2dc 100644 --- a/src/gui/qt/gui_800x480/mymessagedialog_800x480.ui +++ b/src/gui/qt/gui_800x480/mymessagedialog_800x480.ui @@ -58,6 +58,12 @@ MessageText + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop + + + true + diff --git a/src/gui/qt/styles/gametablestylereader.cpp b/src/gui/qt/styles/gametablestylereader.cpp index d3e253e0..bf21d834 100644 --- a/src/gui/qt/styles/gametablestylereader.cpp +++ b/src/gui/qt/styles/gametablestylereader.cpp @@ -1567,7 +1567,7 @@ void GameTableStyleReader::setShowMyCardsButtonStyle( MyActionButton *sc) sc->setMyStyle(this); //Show My Cards Button has same look and feel all the time - sc->setStyleSheet("QPushButton { border:none; background-image: url(\""+ShowMyCardsButtonDefault+"\"); "+ font2String +" font-size: "+humanPlayerButtonFontSize+"px; font-weight: bold; color: #"+ShowMyCardsButtonTextColor+";} QPushButton:unchecked { background-image: url(\""+ShowMyCardsButtonDefault+"\"); } QPushButton:checked { background-image: url(\""+BetRaiseButtonDefault+"\");} QPushButton:hover { background-image: url(\""+ShowMyCardsButtonHover+"\"); } QPushButton:checked:hover { background-image: url(\""+ShowMyCardsButtonHover+"\");}"); + sc->setStyleSheet("QPushButton { border:none; background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonDefault+"\"); "+ font2String +" font-size: "+humanPlayerButtonFontSize+"px; font-weight: bold; color: #"+ShowMyCardsButtonTextColor+";} QPushButton:unchecked { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonDefault+"\"); } QPushButton:checked { background-repeat: no-repeat; background-position: center center; background-image: url(\""+BetRaiseButtonDefault+"\");} QPushButton:hover { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonHover+"\"); } QPushButton:checked:hover { background-repeat: no-repeat; background-position: center center; background-image: url(\""+ShowMyCardsButtonHover+"\");}"); }