mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 10:23:01 -06:00
configure_input_player: Set minimum width on controls
This commit is contained in:
parent
dd92db3fb0
commit
312ef596a5
2 changed files with 30 additions and 23 deletions
|
@ -235,6 +235,12 @@
|
|||
<layout class="QHBoxLayout" name="buttonDpadLeftHorizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelDpadLeft">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Left:</string>
|
||||
</property>
|
||||
|
@ -257,6 +263,12 @@
|
|||
<layout class="QHBoxLayout" name="buttonDpadRightHorizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelDpadRight">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Right:</string>
|
||||
</property>
|
||||
|
@ -294,6 +306,12 @@
|
|||
<layout class="QHBoxLayout" name="buttonFaceButtonsAHorizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelA">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>A:</string>
|
||||
</property>
|
||||
|
@ -316,6 +334,12 @@
|
|||
<layout class="QHBoxLayout" name="buttonFaceButtonsBHorizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelB">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>B:</string>
|
||||
</property>
|
||||
|
@ -1017,22 +1041,6 @@
|
|||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="override_label">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Check the box to override the global default key with this one for this game only.</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout"/>
|
||||
</item>
|
||||
|
|
|
@ -327,8 +327,7 @@ void Config::ReadValues() {
|
|||
const auto enabled = sdl2_config->GetBoolean("System", "rng_seed_enabled", false);
|
||||
if (enabled) {
|
||||
Settings::values.rng_seed = sdl2_config->GetInteger("System", "rng_seed", 0);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
Settings::values.rng_seed = std::nullopt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue