ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #01175
[Bug 1298886] Re: Layout incorrectly sizes the children in the default layout when using Components{}
** Changed in: ubuntu-ui-toolkit
Status: Fix Committed => Fix Released
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => 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/1298886
Title:
Layout incorrectly sizes the children in the default layout when using
Components{}
Status in Ubuntu UI Toolkit:
Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
Ubuntu Layouts is causing the elements in the default layout to be
incorrectly sized (or perhaps hidden) when the Tabs{} component is
placed inside a Component{}. My app's basic structure is as follows,
MainView {
PageStack {
component.onCompleted: {
if(true)
push(tabsComponent)
else
push(firstPage)
}
Component {
id: tabsComponent
Tabs {
Tab {
page: firstPage{}
}
Tab {
page: secondPage{}
}
}
}
}
}
So I noticed that when the Tabs{} is placed inside a component
(tabsComponent)and the default app size matches a conditional layout,
when switching to the default layout, elements in the default layout
are not shown. If however the default app size corresponds to the
default layout then all is fine.
I have attached sample code which illustrates the bug further.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1298886/+subscriptions