Use TabLabel for all tab labels and adjust the TabLabel widget layout so that it aligns with the previous HTML label layout. Height is slightly increased for two-line labels.
This commit is contained in:
parent
bbc16a9ae2
commit
7327644d26
3 changed files with 114 additions and 104 deletions
|
|
@ -7,6 +7,7 @@ Ui::TabLabel::TabLabel(QString icon, QString name) :
|
|||
ui->setupUi(this);
|
||||
ui->icon->setText("<img src=':/" + icon + "' height='16' width='16' />");
|
||||
ui->name->setText(name);
|
||||
setMinimumHeight(ui->name->height());
|
||||
}
|
||||
|
||||
Ui::TabLabel::~TabLabel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue