TextInput of trigger panncel not displayed all text

This commit is contained in:
dreamsourcelabTAI 2024-04-22 09:54:53 +08:00
parent 03fa370091
commit 3866eb3315

View File

@ -1097,7 +1097,7 @@ void TriggerDock::UpdateFont()
{
QRect rc = fm.boundingRect(o->text());
QSize size(rc.width() + 20, rc.height() + 6);
o->setFixedSize(size);
o->setMinimumSize(size);
lineH = size.height();
}
}