Made text smaller
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
630145a1d0
commit
79652799bd
@ -482,10 +482,10 @@ void InstanceView::paintEvent([[maybe_unused]] QPaintEvent* event)
|
|||||||
if (model()->rowCount() == 0) {
|
if (model()->rowCount() == 0) {
|
||||||
painter.save();
|
painter.save();
|
||||||
const QString line1 = tr("Welcome!");
|
const QString line1 = tr("Welcome!");
|
||||||
const QString line2 = tr("Add an instance to get started.");
|
const QString line2 = tr("Click \"Add Instance\" to get started.");
|
||||||
auto rect = this->viewport()->rect();
|
auto rect = this->viewport()->rect();
|
||||||
auto font = option.font;
|
auto font = option.font;
|
||||||
font.setPointSize(53);
|
font.setPointSize(37);
|
||||||
painter.setFont(font);
|
painter.setFont(font);
|
||||||
auto fm = painter.fontMetrics();
|
auto fm = painter.fontMetrics();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user