Finnal Look

This commit is contained in:
Cooldude2606
2017-12-30 16:43:12 +00:00
parent 908bc8d3b5
commit 6682d2254e

View File

@@ -69,21 +69,21 @@ function center._center:draw(frame)
direction='vertical' direction='vertical'
} }
tab_bar.style.width = 510 tab_bar.style.width = 510
tab_bar.style.height = 65
local tab_bar_scroll = tab_bar.add{ local tab_bar_scroll = tab_bar.add{
type='scroll-pane', type='scroll-pane',
name='tab_bar_scroll', name='tab_bar_scroll',
horizontal_scroll_policy='auto-and-reserve-space', horizontal_scroll_policy='auto-and-reserve-space',
vertical_scroll_policy='never' vertical_scroll_policy='never'
} }
tab_bar_scroll.style.minimal_height = 40 tab_bar_scroll.style.vertically_squashable = false
tab_bar_scroll.style.vertically_stretchable = true
tab_bar_scroll.style.width = 500 tab_bar_scroll.style.width = 500
local tab_bar_scroll_flow = tab_bar_scroll.add{ local tab_bar_scroll_flow = tab_bar_scroll.add{
type='flow', type='flow',
name='tab_bar_scroll_flow', name='tab_bar_scroll_flow',
direction='horizontal' direction='horizontal'
} }
tab_bar_scroll_flow.style.height = 40
tab_bar_scroll_flow.style.width = 500
Gui.bar(frame,510) Gui.bar(frame,510)
local tab = frame.add{ local tab = frame.add{
type ='frame', type ='frame',