Same applies for Popover!!! ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed
-- 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/1555548 Title: Dialog and Popover have no attached theme property Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: In order to give the Dialog a different theme from the rest of an app, we need to set the theme property, as is done in the example of the theming tutorial in file:///usr/share/ubuntu-ui-toolkit/doc/html /ubuntu-theming-subtheming.html (ubuntu-ui-toolkit-doc package): import QtQuick 2.4 import Ubuntu.Components 1.3 import Ubuntu.Components.Popups 1.3 MainView { width: units.gu(40) height: units.gu(71) applicationName: "subthemed" // make sure the main theme is Ambiance theme.name: "Ubuntu.Components.Themes.Ambiance" Component { id: dialogComponent Dialog { id: dialog title: "Input dialog" // the dialog and its children will use SuruDark theme: ThemeSettings { name: "Ubuntu.Components.Themes.SuruDark" } TextField { placeholderText: "enter text" } Button { text: "Close" onClicked: PopupUtils.close(dialog) } } } Button { text: "Open dialog" onClicked: PopupUtils.open(dialogComponent) } } However, this gives the following error file:///home/tim/test.qml:19 Cannot assign to non-existent property "theme" because Dialog is not a StyledItem. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1555548/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp