diff --git a/bobclasses/prototypes/style.lua b/bobclasses/prototypes/style.lua index 85a23131..042ee251 100644 --- a/bobclasses/prototypes/style.lua +++ b/bobclasses/prototypes/style.lua @@ -23,7 +23,7 @@ data.raw["gui-style"].default.bob_button_flow = { type = "horizontal_flow_style", parent = "horizontal_flow", vertical_align = "center", - horizontally_stretchable = "on", + horizontally_stretchable = true, } data.raw["gui-style"].default.bob_draggable_header = { @@ -32,8 +32,8 @@ data.raw["gui-style"].default.bob_draggable_header = { minimal_width = 0, padding = -8, height = 24, - horizontally_stretchable = "on", - vertically_stretchable = "on", + horizontally_stretchable = true, + vertically_stretchable = true, } data.raw["gui-style"].default.bob_draggable_footer = { @@ -42,8 +42,8 @@ data.raw["gui-style"].default.bob_draggable_footer = { minimal_width = 0, padding = -8, height = 32, - horizontally_stretchable = "on", - vertically_stretchable = "on", + horizontally_stretchable = true, + vertically_stretchable = true, } data.raw["gui-style"].default.green_button = { diff --git a/bobinserters/control.lua b/bobinserters/control.lua index ab2a1c2a..f5db2846 100644 --- a/bobinserters/control.lua +++ b/bobinserters/control.lua @@ -1482,7 +1482,7 @@ function bobmods.inserters.open_gui(entity, player) entity_flow.add({ type = "frame", name = "entity_frame", style = "inside_shallow_frame" }) entity_flow.entity_frame.style.width = frame_width entity_flow.entity_frame.style.height = 148 - entity_flow.entity_frame.style.horizontally_stretchable = "off" + entity_flow.entity_frame.style.horizontally_stretchable = false entity_flow.entity_frame.add({ type = "entity-preview", name = "entity_preview", style = "entity_button_base" }) entity_flow.entity_frame.entity_preview.style.width = frame_width entity_flow.entity_frame.entity_preview.style.height = 148 diff --git a/bobinserters/prototypes/styles.lua b/bobinserters/prototypes/styles.lua index 2b48fb3b..29896aa0 100644 --- a/bobinserters/prototypes/styles.lua +++ b/bobinserters/prototypes/styles.lua @@ -100,7 +100,7 @@ data.raw["gui-style"].default.bob_button_flow = { type = "horizontal_flow_style", parent = "horizontal_flow", vertical_align = "center", - horizontally_stretchable = "on", + horizontally_stretchable = true, } data.raw["gui-style"].default.bob_draggable_header = { @@ -109,8 +109,8 @@ data.raw["gui-style"].default.bob_draggable_header = { minimal_width = 0, padding = -8, height = 24, - horizontally_stretchable = "on", - vertically_stretchable = "on", + horizontally_stretchable = true, + vertically_stretchable = true, } data.raw["gui-style"].default.bob_draggable_footer = { @@ -119,8 +119,8 @@ data.raw["gui-style"].default.bob_draggable_footer = { minimal_width = 0, padding = -8, height = 32, - horizontally_stretchable = "on", - vertically_stretchable = "on", + horizontally_stretchable = true, + vertically_stretchable = true, } data.raw["gui-style"].default.bob_inserter_checkbox = {