From 00d4490c79412f355b2dd2ff54bb59637d0487d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?= Date: Wed, 14 Nov 2012 15:38:52 +0700 Subject: [PATCH] Set round corner for labels. --- mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 54b2d50..21d7de8 100644 --- 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())); - 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 */ -- 1.7.9.5