On Tue, 2009-04-28 at 13:30 +0400, Sergey P. Semernin wrote:
> Hello, All.
> 
> For example, I'm creating a TEXTBLOCK part in widget:
> 
> part {
>   name: "text.block";
>   type: TEXTBLOCK;
>   ...
>   description {
>     state: "default" 0.0;
>     ...
>     text {
>       style: "textblock_style_1";
>       ...
>     }
>   }
>   description {
>     state: "another" 0.0;
>     ...
>     text {
>       style: "textblock_style_2";
>       ...
>     }
>   }
> }
> 
> And I overriding text { } attribute in another state: changing font style.
> But accually no style of text changed runtime when part state changed by 
> signal.
> Visible/Invisible, Color and others changed successfully, but not text style.
> All styles are defined properly and working.
> If I create two same parts with different font styles and selectively
> shown it - working well, but more beautiful is changing state within
> one part...
> 
> Is it possible to redefine text { } attribute for TEXTBLOCK or no?
> 
Unfortunately, edje doesn't yet seem to support switching between
different styles for a textblock. You could look in edje_calc.c (and
maybe even in _edje_part_recalc) if you want to try to implement it. I'm
sure a lot of people will be pleased :)

> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to