mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-05 23:18:43 +00:00
fix: single mode resize bug
This commit is contained in:
parent
89fda3a56c
commit
a78d9d0304
2 changed files with 25 additions and 1 deletions
|
@ -671,7 +671,7 @@ void Dialog::on_useSingleModeCheck_clicked()
|
|||
ui->rightWidget->show();
|
||||
}
|
||||
|
||||
resize(layout()->sizeHint().width(), height());
|
||||
adjustSize();
|
||||
}
|
||||
|
||||
void Dialog::on_serialBox_currentIndexChanged(const QString &arg1)
|
||||
|
|
|
@ -119,6 +119,12 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="autoUpdatecheckBox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>auto update</string>
|
||||
</property>
|
||||
|
@ -975,6 +981,12 @@
|
|||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="installSndcpyBtn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>install sndcpy</string>
|
||||
</property>
|
||||
|
@ -982,6 +994,12 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="startAudioBtn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>start audio</string>
|
||||
</property>
|
||||
|
@ -989,6 +1007,12 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="stopAudioBtn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>stop audio</string>
|
||||
</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue