fix: use Maximum for the high of the mode selection to prevent being cut off

This commit is contained in:
sithlord48 2026-04-19 12:42:06 -04:00 committed by Chris Rizzitello
parent 5a028c12d4
commit acd02a01e6

View file

@ -2,6 +2,14 @@
<ui version="4.0"> <ui version="4.0">
<class>MainWindow</class> <class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow"> <widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>971</width>
<height>197</height>
</rect>
</property>
<widget class="QWidget" name="topLevelWidget"> <widget class="QWidget" name="topLevelWidget">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
@ -162,6 +170,12 @@
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QRadioButton" name="rbModeServer"> <widget class="QRadioButton" name="rbModeServer">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>Use this computer's keyboard and mouse <string>Use this computer's keyboard and mouse
(make this computer the server)</string> (make this computer the server)</string>
@ -170,6 +184,12 @@
</item> </item>
<item> <item>
<widget class="QRadioButton" name="rbModeClient"> <widget class="QRadioButton" name="rbModeClient">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>Use another computer’s mouse and keyboard <string>Use another computer’s mouse and keyboard
(make this computer the client)</string> (make this computer the client)</string>