misc cleanups related to ranges

gui padding is a >=0 element
guitabbookctrl.selectedPage defaults to -1
shape editor triggers derived from textrows must ensure they are actually loking aty an entry. -1 is the return value of" not found"
This commit is contained in:
AzaezelX 2025-10-07 16:31:24 -05:00
parent 191e69e589
commit bd44ee5341
6 changed files with 19 additions and 11 deletions

View file

@ -1375,7 +1375,7 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
StackingType = "Vertical";
HorizStacking = "Left to Right";
VertStacking = "Top to Bottom";
Padding = "-2";
Padding = "0";
canSaveDynamicFields = "0";
internalName = "theVisOptionsList";
Enabled = "1";
@ -1444,7 +1444,7 @@ $guiContent = new GuiContainer(EditorGui,EditorGuiGroup) {
StackingType = "Vertical";
HorizStacking = "Left to Right";
VertStacking = "Top to Bottom";
Padding = "-2";
Padding = "0";
canSaveDynamicFields = "0";
internalName = "theClassVisList";
Enabled = "1";

View file

@ -329,7 +329,7 @@ $guiContent = new GuiControl(TerrainPainterContainer,EditorGuiGroup) {
StackingType = "Vertical";
HorizStacking = "Left to Right";
VertStacking = "Top to Bottom";
Padding = "-2";
Padding = "0";
canSaveDynamicFields = "0";
internalName = "theMaterialList";
Enabled = "1";

View file

@ -116,7 +116,7 @@ $guiContent = new GuiControl(VisibilityLayerContainer, EditorGuiGroup) {
StackingType = "Vertical";
HorizStacking = "Left to Right";
VertStacking = "Top to Bottom";
Padding = "-2";
Padding = "0";
canSaveDynamicFields = "0";
internalName = "theClassVisList";
Enabled = "1";
@ -185,7 +185,7 @@ $guiContent = new GuiControl(VisibilityLayerContainer, EditorGuiGroup) {
StackingType = "Vertical";
HorizStacking = "Left to Right";
VertStacking = "Top to Bottom";
Padding = "-2";
Padding = "0";
canSaveDynamicFields = "0";
internalName = "theClassSelList";
Enabled = "1";