projects
/
mverbiste
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
020dbb0
)
Set round corner for labels.
author
Nguyễn Hồng Quân
<ng.hong.quan@gmail.com>
Wed, 14 Nov 2012 08:38:52 +0000
(15:38 +0700)
committer
Nguyễn Hồng Quân
<ng.hong.quan@gmail.com>
Wed, 14 Nov 2012 08:38:52 +0000
(15:38 +0700)
mainwindow.cpp
patch
|
blob
|
history
diff --git
a/mainwindow.cpp
b/mainwindow.cpp
index
54b2d50
..
21d7de8
100644
(file)
--- a/
mainwindow.cpp
+++ b/
mainwindow.cpp
@@
-288,7
+288,9
@@
QVBoxLayout* MainWindow::makeResultCell(const VVS &tenseIterator,
/* Mode & Tense name */
QLabel *tenseLabel = new QLabel();
tenseLabel->setText(QString::fromUtf8(tenseName.c_str()));
/* Mode & Tense name */
QLabel *tenseLabel = new QLabel();
tenseLabel->setText(QString::fromUtf8(tenseName.c_str()));
- tenseLabel->setStyleSheet("QLabel {background-color: #44A51C; "
+ tenseLabel->setStyleSheet("QLabel {background-color: #44A51C;"
+ "border-top-left-radius: 4px;"
+ "border-top-right-radius: 4px;"
"padding-left: 10px; padding-right: 10px}");
/* Conjugaison */
"padding-left: 10px; padding-right: 10px}");
/* Conjugaison */