diff --git a/sources/aboutqet.cpp b/sources/aboutqet.cpp index 7ad836412..48a1986d1 100644 --- a/sources/aboutqet.cpp +++ b/sources/aboutqet.cpp @@ -70,13 +70,12 @@ QWidget *AboutQET::title() const { // label "QElectroTech" QLabel *title = new QLabel("QElectroTech v" + QET::displayedVersion + ""); title -> setTextFormat(Qt::RichText); - // le tout dans une grille - QGridLayout *grid_layout = new QGridLayout(); - grid_layout -> addWidget(icon, 0, 0); - grid_layout -> addWidget(title, 0, 1); - grid_layout -> setColumnStretch(0, 1); - grid_layout -> setColumnStretch(1, 100); - icon_and_title -> setLayout(grid_layout); + + QHBoxLayout *hlayout = new QHBoxLayout(); + hlayout -> addWidget(icon); + hlayout -> addWidget(title); + hlayout -> addStretch(); + icon_and_title -> setLayout(hlayout); return(icon_and_title); } @@ -186,7 +185,7 @@ QWidget *AboutQET::licenseTab() const { void AboutQET::addAuthor(QLabel *label, const QString &name, const QString &email, const QString &work) const { QString new_text = label -> text(); - QString author_template = "%1 : %2 <%3>

"; + QString author_template = "%1 : %2 <%3>‎

"; // ajoute la fonction de la personne new_text += author_template.arg(work).arg(name).arg(email);