fix: 修复bug84896

Description: 高度是因为控件默认大小设置错误导致的,修改为正确的36

Log: 与界面布局有关
Bug: https://pms.uniontech.com/zentao/bug-view-84896.html
Change-Id: I0f33ec9f0b8abbb685e7f7c6fdb0e3a3f416edd7
This commit is contained in:
liuminghang 2021-06-23 13:55:51 +08:00
parent f4b634c30d
commit 19c54859da

View File

@ -164,14 +164,14 @@ void MainWidget::setupUi(QWidget *Widget)
m_copyBtn = new DToolButton(Widget); m_copyBtn = new DToolButton(Widget);
m_copyBtn->setObjectName(QStringLiteral("Copy text")); m_copyBtn->setObjectName(QStringLiteral("Copy text"));
m_copyBtn->setMaximumSize(QSize(40, 40)); m_copyBtn->setMaximumSize(QSize(36, 36));
m_copyBtn->setToolTip(tr("Copy text")); m_copyBtn->setToolTip(tr("Copy text"));
m_buttonHorizontalLayout->addWidget(m_copyBtn); m_buttonHorizontalLayout->addWidget(m_copyBtn);
m_buttonHorizontalLayout->setSpacing(20); m_buttonHorizontalLayout->setSpacing(20);
m_exportBtn = new DToolButton(Widget); m_exportBtn = new DToolButton(Widget);
m_exportBtn->setObjectName(QStringLiteral("Save as TXT")); m_exportBtn->setObjectName(QStringLiteral("Save as TXT"));
m_exportBtn->setMaximumSize(QSize(40, 40)); m_exportBtn->setMaximumSize(QSize(36, 36));
m_exportBtn->setToolTip(tr("Save as TXT")); m_exportBtn->setToolTip(tr("Save as TXT"));
m_buttonHorizontalLayout->addWidget(m_exportBtn); m_buttonHorizontalLayout->addWidget(m_exportBtn);