Aleksei-bird 7c9c708c92 Первый фикс
Пачки некоторых позиций увеличены
2024-03-01 20:54:33 +03:00

92 lines
2.2 KiB
Lua

local styles = data.raw["gui-style"].default
styles.statsgui_label = {
type = "label_style",
font = "default-game",
font_color = default_font_color,
}
styles.statsgui_frame = {
type = "frame_style",
parent = "invisible_frame",
horizontal_flow_style = {
type = "horizontal_flow_style",
horizontal_spacing = 20,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 10,
right_padding = 287 + 180,
},
vertical_flow_style = {
type = "vertical_flow_style",
vertical_spacing = 0,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 38,
right_padding = 287,
},
}
styles.statsgui_frame_no_ups = {
type = "frame_style",
parent = "invisible_frame",
horizontal_flow_style = {
type = "horizontal_flow_style",
horizontal_spacing = 20,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 10,
right_padding = 287,
},
vertical_flow_style = {
type = "vertical_flow_style",
vertical_spacing = 0,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 10,
right_padding = 287,
},
}
styles.statsgui_frame_clock = {
type = "frame_style",
parent = "invisible_frame",
horizontal_flow_style = {
type = "horizontal_flow_style",
horizontal_spacing = 20,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 10,
right_padding = 287 + 180,
},
vertical_flow_style = {
type = "vertical_flow_style",
vertical_spacing = 0,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 50,
right_padding = 287,
},
}
styles.statsgui_frame_clock_no_ups = {
type = "frame_style",
parent = "invisible_frame",
horizontal_flow_style = {
type = "horizontal_flow_style",
horizontal_spacing = 20,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 10,
right_padding = 287,
},
vertical_flow_style = {
type = "vertical_flow_style",
vertical_spacing = 0,
horizontal_align = "right",
horizontally_stretchable = "on",
top_padding = 50,
right_padding = 287,
},
}