ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #00936
[Bug 1290121] Re: Move selectedTabIndex to tabs model
** Changed in: ubuntu-ui-toolkit
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1290121
Title:
Move selectedTabIndex to tabs model
Status in Ubuntu UI Toolkit:
Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
Code from Tabs.qml:
property alias selectedTabIndex: bar.selectedIndex
There is also some checking of the model inside TabBar.qml. This is
not good because we do not want Tabs to depend on the TabBar. For
upcoming changes (TabBar will be deprecated eventually, but for now we
will give the app developers the option to choose between the "old"
TabBar, and a new way to display the tabs), I want to load the TabBar
inside a Loader only when it is needed. So some code may need to be
moved from TabBar to Tabs, and the alias listed above must be removed.
Update: unity8 uses the tabbar (and will use the tabs drawer in the
header) without the Tabs, so we decided to move the selected tab index
to the model instead of the Tabs.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1290121/+subscriptions