mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
TextInput of trigger panncel not displayed all text
This commit is contained in:
parent
03fa370091
commit
3866eb3315
@ -1097,7 +1097,7 @@ void TriggerDock::UpdateFont()
|
|||||||
{
|
{
|
||||||
QRect rc = fm.boundingRect(o->text());
|
QRect rc = fm.boundingRect(o->text());
|
||||||
QSize size(rc.width() + 20, rc.height() + 6);
|
QSize size(rc.width() + 20, rc.height() + 6);
|
||||||
o->setFixedSize(size);
|
o->setMinimumSize(size);
|
||||||
lineH = size.height();
|
lineH = size.height();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user