In my case i had to add this
  "interest-calculator-window": {
      include: "window",
      style: function(states) {
        return {
          width:500,
          height:500
        };
      }
    },
    "interest-calculator-window/captionbar" :"window/captionbar",
    "interest-calculator-window/title":"window/title",
    "interest-calculator-window/icon":"window/icon",
    "interest-calculator-window/close-button":"window/close-button"

In my appearance definiton.

I think this could be a point of interest for an enhancement.

If i define an apperance based on an alias. The related appearance(with
child control) should also inherit the same hierachie.
It's less abvious, but since we refer to inheritance system in the doc, it
could be pretty natural.

What are your thought about this?


2013/11/6 Benjamin Dreux <benjamin.dr...@code3.ca>

> HI,
>
> I never digg to much into theming.
>
> Today, i want to make a better usage of theming capabilities of qooxdoo.
> My first issue is with the appearance of window.
>
> I want to remove width and height definition from the class of my window.
> And i want to define these size into my appearance.
>
> Is that a correct way of thinking about appearance??
>
> What i tried is this
>
>     "interestCalculatorWindow":{
>       include : "window",
>       alias : "window",
>       base:true,
>       style:function(states){
>         return {
>            width:1300,
>            height:600
>         }
>       }
>     }
>
> But I ended up with a crappy window with no theming for the header.
>
> What am I missing here?
>
> Regards
>
> --
> Benjamin Dreux
> Analyste-Programmeur
> Code³ Coopérative de solidarité
> 438 777 9250
>



-- 
Benjamin Dreux
Analyste-Programmeur
Code³ Coopérative de solidarité
438 777 9250
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to