mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-04 09:42:30 +02:00
style changes
This commit is contained in:
parent
93807c52ac
commit
5bb1bccb96
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user