nativewindow: Add additional test for 8pt font size
Change-Id: I5012eb6ffee8f81da61a6fe611352ee5900a5eee Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
b34143f8a1
commit
1f30434356
@ -208,10 +208,9 @@ public:
|
|||||||
}
|
}
|
||||||
}();
|
}();
|
||||||
|
|
||||||
layout->addWidget(new TextRenderer(12, text, color.first, color.second));
|
for (int pointSize : {8, 12, 24, 36, 48})
|
||||||
layout->addWidget(new TextRenderer(24, text, color.first, color.second));
|
layout->addWidget(new TextRenderer(pointSize, text, color.first, color.second));
|
||||||
layout->addWidget(new TextRenderer(36, text, color.first, color.second));
|
|
||||||
layout->addWidget(new TextRenderer(48, text, color.first, color.second));
|
|
||||||
static_cast<QHBoxLayout*>(m_previews->layout())->addLayout(layout);
|
static_cast<QHBoxLayout*>(m_previews->layout())->addLayout(layout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user