Skip to content

Commit

Permalink
Factorio 0.16 update
Browse files Browse the repository at this point in the history
  • Loading branch information
narc0tiq committed May 22, 2018
1 parent d5e1a68 commit 06556b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ local default_gui = data.raw["gui-style"].default

default_gui.prodmon_ident = {
type = "label_style",
parent = "label_style",
parent = "label",
font = "default-small-semibold",
}

Expand All @@ -63,8 +63,8 @@ default_gui.prodmon_data_table = {
}

default_gui.prodmon_buttons = {
type = "flow_style",
parent = "description_flow_style",
type = "vertical_flow_style",
parent = "description_vertical_flow",
horizontal_spacing = 1,
vertical_spacing = 5,
top_padding = 4,
Expand Down
4 changes: 2 additions & 2 deletions gui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ end
function gui.create(player)
if player.gui.left.prodmon then return end

local root = player.gui.left.add{type="frame", name="prodmon", direction="horizontal", style="outer_frame_style"}
local root = player.gui.left.add{type="frame", name="prodmon", direction="horizontal", style="outer_frame"}

root.add{type="label", caption={"prodmon.short-title-text"}, style="prodmon_ident", tooltip={"prodmon.short-title-tooltip"}}
root.add{type="flow", name="buttons", direction="vertical", style="prodmon_buttons"}
root.add{type="table", name="data", colspan=7, style="prodmon_data_table"}
root.add{type="table", name="data", column_count=7, style="prodmon_data_table"}

root.buttons.add{type="button", name="prodmon_all", style="YARM_expando_long", tooltip={"prodmon.show-all-tooltip"}}
root.buttons.add{type="button", name="prodmon_ores", style="YARM_expando_short", tooltip={"prodmon.show-ores-tooltip"}}
Expand Down

0 comments on commit 06556b4

Please sign in to comment.