From 19c54859da256c36582cc832fe0ab6668b9facfd Mon Sep 17 00:00:00 2001 From: liuminghang Date: Wed, 23 Jun 2021 13:55:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbug84896?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: 高度是因为控件默认大小设置错误导致的,修改为正确的36 Log: 与界面布局有关 Bug: https://pms.uniontech.com/zentao/bug-view-84896.html Change-Id: I0f33ec9f0b8abbb685e7f7c6fdb0e3a3f416edd7 --- src/mainwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp index 14433a4..53a3310 100644 --- a/src/mainwidget.cpp +++ b/src/mainwidget.cpp @@ -164,14 +164,14 @@ void MainWidget::setupUi(QWidget *Widget) m_copyBtn = new DToolButton(Widget); 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_buttonHorizontalLayout->addWidget(m_copyBtn); m_buttonHorizontalLayout->setSpacing(20); m_exportBtn = new DToolButton(Widget); 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_buttonHorizontalLayout->addWidget(m_exportBtn);