按钮宽度自适应
This commit is contained in:
parent
70a3285908
commit
4fa60ae9ac
@ -70,7 +70,7 @@ void ButtonForm::addToolButtons(QVector<QString> &buttonVec)
|
|||||||
toolBtn->setMaximumHeight(40);
|
toolBtn->setMaximumHeight(40);
|
||||||
toolBtn->setMinimumHeight(40);
|
toolBtn->setMinimumHeight(40);
|
||||||
//toolBtn->setMaximumWidth(100);
|
//toolBtn->setMaximumWidth(100);
|
||||||
toolBtn->setMinimumWidth(80);
|
toolBtn->setMinimumWidth(40);
|
||||||
//toolBtn->setIcon(icon);
|
//toolBtn->setIcon(icon);
|
||||||
toolBtn->setText(m_bIsZh?buttonInfo.m_zh:buttonInfo.m_en);
|
toolBtn->setText(m_bIsZh?buttonInfo.m_zh:buttonInfo.m_en);
|
||||||
#ifdef Q_PROCESSOR_ARM_64
|
#ifdef Q_PROCESSOR_ARM_64
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user