1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-04 09:42:30 +02:00

style changes

This commit is contained in:
grilledham 2018-06-23 17:53:01 +01:00
parent 93807c52ac
commit 5bb1bccb96

View File

@ -201,15 +201,16 @@ local function draw_main_frame(player)
main_frame.style.maximal_height = 500
main_frame.style.maximal_width = 500
main_frame.style.minimal_width = 320
local scroll_pane =
main_frame.add {
type = 'scroll-pane',
name = main_frame_content_name,
direction = 'vertical',
vertical_scroll_policy = 'always'
}
scroll_pane.style.horizontally_stretchable = true
scroll_pane.style.right_padding = 0
draw_main_frame_content(scroll_pane)