Re: [Ubuntu-phone] theme.name and qrc

2016-03-01 Thread Zsombor Egri
It depends what do you want to do there. Do you really want to have a different visual for your button? ( I saw you have ButtonStyle declared there). If you want your own palette, or only few colors changed in your palette, you can declare those in your application's root component: MainView { ..

Re: [Ubuntu-phone] theme.name and qrc

2016-03-01 Thread Petr Štětka
So, how can I theming my app, when I want use qrc? Dne 1. 3. 2016 11:53 napsal uživatel "Zsombor Egri" < zsombor.e...@canonical.com>: > The simple answer is: you cannot. The theme.name is not a file path, it's > a URL. > > On Mon, Feb 29, 2016 at 1:30 PM, Petr Štětka > wrote: > >> Hi, >> I want t

Re: [Ubuntu-phone] theme.name and qrc

2016-03-01 Thread Zsombor Egri
The simple answer is: you cannot. The theme.name is not a file path, it's a URL. On Mon, Feb 29, 2016 at 1:30 PM, Petr Štětka wrote: > Hi, > I want to load my theme that I have with other files in qml.qrc (Resource > Collection Files) > like this: > > > > qml/main.qml > qml

[Ubuntu-phone] theme.name and qrc

2016-02-29 Thread Petr Štětka
Hi, I want to load my theme that I have with other files in qml.qrc (Resource Collection Files) like this: qml/main.qml qml/LightTheme/parent_theme qml/LightTheme/ButtonStyle.qml qml/LightTheme/Palette.qml Unfortunately, when I try to load it with this