File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ void Dialog::on_useSingleModeCheck_clicked()
671671 ui->rightWidget ->show ();
672672 }
673673
674- resize ( layout ()-> sizeHint (). width (), height () );
674+ adjustSize ( );
675675}
676676
677677void Dialog::on_serialBox_currentIndexChanged (const QString &arg1)
Original file line number Diff line number Diff line change 119119 </item >
120120 <item >
121121 <widget class =" QCheckBox" name =" autoUpdatecheckBox" >
122+ <property name =" sizePolicy" >
123+ <sizepolicy hsizetype =" Preferred" vsizetype =" Preferred" >
124+ <horstretch >0</horstretch >
125+ <verstretch >0</verstretch >
126+ </sizepolicy >
127+ </property >
122128 <property name =" text" >
123129 <string >auto update</string >
124130 </property >
975981 </property >
976982 <item >
977983 <widget class =" QPushButton" name =" installSndcpyBtn" >
984+ <property name =" sizePolicy" >
985+ <sizepolicy hsizetype =" Preferred" vsizetype =" Preferred" >
986+ <horstretch >0</horstretch >
987+ <verstretch >0</verstretch >
988+ </sizepolicy >
989+ </property >
978990 <property name =" text" >
979991 <string >install sndcpy</string >
980992 </property >
981993 </widget >
982994 </item >
983995 <item >
984996 <widget class =" QPushButton" name =" startAudioBtn" >
997+ <property name =" sizePolicy" >
998+ <sizepolicy hsizetype =" Preferred" vsizetype =" Preferred" >
999+ <horstretch >0</horstretch >
1000+ <verstretch >0</verstretch >
1001+ </sizepolicy >
1002+ </property >
9851003 <property name =" text" >
9861004 <string >start audio</string >
9871005 </property >
9881006 </widget >
9891007 </item >
9901008 <item >
9911009 <widget class =" QPushButton" name =" stopAudioBtn" >
1010+ <property name =" sizePolicy" >
1011+ <sizepolicy hsizetype =" Preferred" vsizetype =" Preferred" >
1012+ <horstretch >0</horstretch >
1013+ <verstretch >0</verstretch >
1014+ </sizepolicy >
1015+ </property >
9921016 <property name =" text" >
9931017 <string >stop audio</string >
9941018 </property >
You can’t perform that action at this time.
0 commit comments