-
Notifications
You must be signed in to change notification settings - Fork 23
wrong icon theme is copied #131
Comments
There are two issues here - firstly, Secondly, even when this was done it would make little or no difference - the Qooxdoo framework explicitly refers to
Yet the files exist:
The |
So to get Oxygen 2 places must be edited: the themes file and compile.json, right? |
see also qooxdoo/qooxdoo#9485 |
@hkollmann yes plus the qooxdoo framework files, and then the generator has to be fixed so that it can accept variables in the |
As I have written in qooxdoo/qooxdoo#9485, the problem wouldn't exist if the framework used aliases instead of hard-coded (or even partly aliased) paths. If I had time, I'd create a PR replacing all paths with aliases, but unfortunately, I don't... |
In my view, icon paths shouldn't be in class files to begin with, it violates the DRY principle and makes changing icon sets impossible. |
With the generator you get the oxygen theme with mention it in the themes class. Tango theme is not copied in this case. So you can use oxygen icons in your own classes |
please can you check something for me - is it the case that (with the generator) if you use the Oxygen icon theme, the generator will not include the |
Will do so on sunday - only ipad avaible yet |
compiled with generaty.py
compiled with qx:
|
adding
does the trick. Both iconsets are copied. One problem left: The icontheme must be metioned in two different places,
Something like
is not possible. |
Found the warning. It's generated during creating the apiviewer. |
aha, I just saw all the warnings and assumed it was the app generation. I'm still confused though - I don't get how the generator knows to switch to different icon sets, because I can't find any reference to |
this will be done with qooxdoo/qooxdoo#9495 |
Working and qooxdoo path is merged. Thanks @johnspackman ! |
If you create an application with
qx create myapp -I -v
you get
qx.Theme.define("myapp.theme.Theme", { meta : { color : myapp.theme.Color, decoration : myapp.theme.Decoration, font : myapp.theme.Font, icon : qx.theme.icon.Oxygen, appearance : myapp.theme.Appearance } });
after
qx compile
you have the Tango theme in resources:myapp\source-output\resource\qx\icon\Tango
????The text was updated successfully, but these errors were encountered: