解决scantool扫描信息显示不全的问题;BUG-1074
This commit is contained in:
parent
ef0aaa835d
commit
96457219d0
|
@ -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();
|
||||
|
|
|
@ -46,6 +46,12 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="labelScanInfo">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>220</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Scan info</string>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue