diff --git a/forms/preferenceeditor.ui b/forms/preferenceeditor.ui
index 6a055480..974d6322 100644
--- a/forms/preferenceeditor.ui
+++ b/forms/preferenceeditor.ui
@@ -6,8 +6,8 @@
0
0
- 600
- 480
+ 522
+ 493
@@ -23,49 +23,20 @@
Miscellaneous
-
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Open recent project on launch
-
-
-
- -
+
+
-
Monitor project files
- -
-
-
- Qt::Horizontal
+
-
+
+
+ Open recent project on launch
-
- QSizePolicy::Maximum
-
-
-
- 20
- 20
-
-
-
+
@@ -117,8 +88,8 @@
0
0
- 570
- 322
+ 492
+ 327
diff --git a/forms/projectsettingseditor.ui b/forms/projectsettingseditor.ui
index 0769ac7b..a24e8f83 100644
--- a/forms/projectsettingseditor.ui
+++ b/forms/projectsettingseditor.ui
@@ -6,8 +6,8 @@
0
0
- 611
- 1137
+ 600
+ 600
@@ -29,7 +29,7 @@
0
0
585
- 1486
+ 585
diff --git a/forms/tileseteditor.ui b/forms/tileseteditor.ui
index 36e47512..6a2a4c69 100644
--- a/forms/tileseteditor.ui
+++ b/forms/tileseteditor.ui
@@ -169,7 +169,7 @@
- QLayout::SetFixedSize
+ QLayout::SetMinimumSize
0
@@ -186,8 +186,8 @@
-
-
- 1
+
+ 0
0
@@ -201,7 +201,44 @@
false
- -
+
-
+
+
+ Bottom/Top
+
+
+
+ -
+
+
+ -
+
+
+ Encounter Type
+
+
+
+ -
+
+
+ Terrain Type
+
+
+
+ -
+
+
+ -
+
+
+ Metatile Label (Optional)
+
+
+
+ -
+
+
+ -
<html><head/><body><p>Copies the full metatile label to the clipboard.</p></body></html>
@@ -215,46 +252,29 @@
- -
+
-
true
- -
-
+
-
+
- Metatile Label (Optional)
+ Layer Type
- -
-
+
-
+
- Bottom/Top
+ Metatile Behavior
- -
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Encounter Type
-
-
+
-
+
-
@@ -278,44 +298,17 @@
- -
-
-
- -
-
-
- Layer Type
-
-
-
- -
-
-
- -
-
-
- Metatile Behavior
-
-
-
- -
-
-
- -
-
-
- -
-
-
- Terrain Type
-
-
-
-
+
+
+ 0
+ 0
+
+
Tile Properties
@@ -331,7 +324,14 @@
-
-
+
+
+
+ 0
+ 0
+
+
+
-
@@ -364,7 +364,7 @@
- -
+
-
@@ -377,7 +377,7 @@
- -
+
-
@@ -402,6 +402,32 @@
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 10
+
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 20
+ 10
+
+
+
+
@@ -410,6 +436,12 @@
-
+
+
+ 0
+ 0
+
+
true
@@ -419,7 +451,7 @@
0
0
411
- 247
+ 272
diff --git a/src/ui/preferenceeditor.cpp b/src/ui/preferenceeditor.cpp
index e2e4d916..f94c07da 100644
--- a/src/ui/preferenceeditor.cpp
+++ b/src/ui/preferenceeditor.cpp
@@ -17,6 +17,8 @@ PreferenceEditor::PreferenceEditor(QWidget *parent) :
ui->setupUi(this);
auto *formLayout = new QFormLayout(ui->groupBox_Themes);
themeSelector = new NoScrollComboBox(ui->groupBox_Themes);
+ themeSelector->setEditable(false);
+ themeSelector->setMinimumContentsLength(0);
formLayout->addRow("Themes", themeSelector);
setAttribute(Qt::WA_DeleteOnClose);
connect(ui->buttonBox, &QDialogButtonBox::clicked,
diff --git a/src/ui/tileseteditor.cpp b/src/ui/tileseteditor.cpp
index 8c4d67e1..fe6b6736 100644
--- a/src/ui/tileseteditor.cpp
+++ b/src/ui/tileseteditor.cpp
@@ -117,6 +117,7 @@ void TilesetEditor::setAttributesUi() {
for (int num : project->metatileBehaviorMapInverse.keys()) {
this->ui->comboBox_metatileBehaviors->addItem(project->metatileBehaviorMapInverse[num], num);
}
+ this->ui->comboBox_metatileBehaviors->setMinimumContentsLength(0);
} else {
this->ui->comboBox_metatileBehaviors->setVisible(false);
this->ui->label_metatileBehavior->setVisible(false);
@@ -129,6 +130,7 @@ void TilesetEditor::setAttributesUi() {
this->ui->comboBox_terrainType->addItem("Water", TERRAIN_WATER);
this->ui->comboBox_terrainType->addItem("Waterfall", TERRAIN_WATERFALL);
this->ui->comboBox_terrainType->setEditable(false);
+ this->ui->comboBox_terrainType->setMinimumContentsLength(0);
} else {
this->ui->comboBox_terrainType->setVisible(false);
this->ui->label_terrainType->setVisible(false);
@@ -140,6 +142,7 @@ void TilesetEditor::setAttributesUi() {
this->ui->comboBox_encounterType->addItem("Land", ENCOUNTER_LAND);
this->ui->comboBox_encounterType->addItem("Water", ENCOUNTER_WATER);
this->ui->comboBox_encounterType->setEditable(false);
+ this->ui->comboBox_encounterType->setMinimumContentsLength(0);
} else {
this->ui->comboBox_encounterType->setVisible(false);
this->ui->label_encounterType->setVisible(false);
@@ -151,6 +154,7 @@ void TilesetEditor::setAttributesUi() {
this->ui->comboBox_layerType->addItem("Covered - Bottom/Middle", METATILE_LAYER_BOTTOM_MIDDLE);
this->ui->comboBox_layerType->addItem("Split - Bottom/Top", METATILE_LAYER_BOTTOM_TOP);
this->ui->comboBox_layerType->setEditable(false);
+ this->ui->comboBox_layerType->setMinimumContentsLength(0);
if (!Metatile::getLayerTypeMask()) {
// User doesn't have triple layer metatiles, but has no layer type attribute.
// Porymap is still using the layer type value to render metatiles, and with