Commit 11ccb441 authored by Niklas Freund's avatar Niklas Freund
Browse files

Fixed bitset layout at minimum size

parent d81633bb
......@@ -102,6 +102,7 @@ KCalcBitset::KCalcBitset(QWidget *parent)
auto label = new QLabel(this);
label->setText(QString::number(bitCounter + 1));
label->setFont(fnt);
label->setMinimumSize(label->fontMetrics().size(Qt::TextSingleLine, QStringLiteral("56"))); // Make all labels have same size
wordlayout->addWidget(label);
wordlayout->setStretch(8, 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment