mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Edit due to change in api of scroles
This commit is contained in:
@@ -57,7 +57,8 @@ function center._center:callback(frame)
|
|||||||
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',
|
||||||
can_scroll_horizontally=true,
|
horizontal_scroll_policy='auto-and-reserve-space',
|
||||||
|
vertical_scroll_policy='never',
|
||||||
direction='horizontal'
|
direction='horizontal'
|
||||||
}
|
}
|
||||||
local tab_bar_scroll_flow = tab_bar_scroll.add{
|
local tab_bar_scroll_flow = tab_bar_scroll.add{
|
||||||
@@ -73,7 +74,8 @@ function center._center:callback(frame)
|
|||||||
local tab_scroll = tab.add{
|
local tab_scroll = tab.add{
|
||||||
type ='scroll-pane',
|
type ='scroll-pane',
|
||||||
name='tab_scroll',
|
name='tab_scroll',
|
||||||
can_scroll_horizontally=false
|
horizontal_scroll_policy='never',
|
||||||
|
vertical_scroll_policy='auto'
|
||||||
}
|
}
|
||||||
local first_tab = nil
|
local first_tab = nil
|
||||||
for name,button in pairs(self.tabs) do
|
for name,button in pairs(self.tabs) do
|
||||||
|
|||||||
Reference in New Issue
Block a user