mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
+
This commit is contained in:
parent
2059a2a164
commit
4903abc408
@ -389,6 +389,7 @@ void TextItem::setTextFont(TextPtr text, const QFont& value) const {
|
||||
void TextItem::adaptFontSize(TextPtr text) const{
|
||||
QFont _font = transformToSceneFont(font());
|
||||
do{
|
||||
// qApp->processEvents();
|
||||
setTextFont(text,_font);
|
||||
if (_font.pixelSize()>2)
|
||||
_font.setPixelSize(_font.pixelSize()-1);
|
||||
|
Loading…
Reference in New Issue
Block a user