touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #97893
[Bug 1481624] Re: OptionSelector components in flickable doesn't show its expansion
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1481624
Title:
OptionSelector components in flickable doesn't show its expansion
Status in ubuntu-ui-toolkit package in Ubuntu:
Triaged
Bug description:
If a flickable only contains OptionSelector(s), the childrenRect isn't
refreshed, and so, the options when expanding aren't shown.
For instance:
import QtQuick 2.4
import Ubuntu.Components 1.2
MainView {
id: mainview
objectName: "mainView"
applicationName: "foo.bar"
width: units.gu(40)
height: units.gu(75)
Page {
title: "Settings"
Flickable {
id: flick
anchors.fill: parent
contentHeight: column.height
Column {
id: column
width: flick.width
OptionSelector {
text: i18n.tr("Label")
model: [i18n.tr("Value 1"),
i18n.tr("Value 2"),
i18n.tr("Value 3"),
i18n.tr("Value 4")]
}
}
}
}
}
A workaround is to set a Label after the OptionSelector with an empty space as a text:
Label {
text: " "
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1481624/+subscriptions
References