From 96457219d0473f19457cf48691b72b349e49a25e Mon Sep 17 00:00:00 2001 From: yangjiaxuan <171295266@qq.com> Date: Tue, 11 Jun 2024 17:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3scantool=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=85=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9BBUG-1074?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/scantool/dialog_scaninfo.cpp | 2 ++ app/scantool/dialog_scaninfo.ui | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/app/scantool/dialog_scaninfo.cpp b/app/scantool/dialog_scaninfo.cpp index 00161942..a0017272 100644 --- a/app/scantool/dialog_scaninfo.cpp +++ b/app/scantool/dialog_scaninfo.cpp @@ -12,6 +12,8 @@ Dialog_ScanInfo::Dialog_ScanInfo(class MainWindow *mainWindow) { ui->setupUi(this); setWindowFlags(Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint); + ui->labelScanInfo->setWordWrap(true); + ui->labelScanInfo->setAlignment(Qt::AlignCenter); QDesktopWidget *desktop = QApplication::desktop(); QRect workArea = desktop->availableGeometry(); diff --git a/app/scantool/dialog_scaninfo.ui b/app/scantool/dialog_scaninfo.ui index 5a597904..cd27231c 100644 --- a/app/scantool/dialog_scaninfo.ui +++ b/app/scantool/dialog_scaninfo.ui @@ -46,6 +46,12 @@ + + + 220 + 0 + + Scan info