← Back to team overview

ubuntu-phone team mailing list archive

UI Toolkit API update: Theming

 

Hello,

The toolkit's theming infrastructure is being simplified greatly resulting in increased reliability and performance.

The ItemStyle attached property has been removed and widgets now have a 'style' property equivalent to what ItemStyle.delegate was providing.
Also the support for stylesheet theme (.qmltheme) has been removed.

The merge request containing that change is: https://code.launchpad.net/~fboucault/ubuntu-ui-toolkit/simple_theming/+merge/171645 It will not be merged until apps that depend on ItemStyle have merge requests adapting them ready to land.

Apps requiring changes are:
- webbrowser-app https://code.launchpad.net/~fboucault/webbrowser-app/no_theme/+merge/171688 - Unity https://code.launchpad.net/~saviq/unity8/simple-theming/+merge/171812
- camera-app https://code.launchpad.net/~fboucault/camera-app/new_theming
- mediaplayer-app https://code.launchpad.net/~fboucault/mediaplayer-app/new_theming - ubuntu-calculator-app https://code.launchpad.net/~fboucault/ubuntu-calculator-app/new_theming
- notes-app https://code.launchpad.net/~fboucault/notes-app/new_theming
- phone-app https://code.launchpad.net/~fboucault/phone-app/new_theming

For each branches linked above, I will be sending a merge request.
If there are any questions, ping Kaleo or IRC.

Have a nice day,

Florian


Follow ups