Browse Source

Adjust settings size on init

tags/1.9.8
falkTX 8 years ago
parent
commit
7e912fc22a
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      resources/ui/carla_settings.ui
  2. +2
    -0
      source/carla_settings.py

+ 1
- 1
resources/ui/carla_settings.ui View File

@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>612</width> <width>612</width>
<height>587</height>
<height>507</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">


+ 2
- 0
source/carla_settings.py View File

@@ -347,6 +347,8 @@ class CarlaSettingsW(QDialog):


self.ui.lw_page.setCurrentCell(0, 0) self.ui.lw_page.setCurrentCell(0, 0)


self.adjustSize()

# -------------------------------------------------------------------------------------------------------- # --------------------------------------------------------------------------------------------------------


def loadSettings(self): def loadSettings(self):


Loading…
Cancel
Save