On Mon, 10 Jan 2011 20:49:05 +1100 Brett Nash <brettn...@gmail.com> said:

> 
> 
> On 10/01/2011, at 8:04 PM, Carsten Haitzler (The Rasterman)
> <ras...@rasterman.com> wrote:
> 
> > On Mon, 10 Jan 2011 18:29:31 +1100 Brett Nash <n...@nash.id.au> said:
> > 
> >>>> 
> >>>>    if (strcmp("elm.swallow.end",part)) != 0) return NULL;
> >>>> 
> >>>>    o = elm_label_add(obj);
> >>>>    elm_label_label_set(o, calculated_value(yadda, yadda));
> >>>>    evas_object_show(o);
> >>>>    return o;
> >>>> 
> >>>> This used to work, but with a recent update it stopped working.
> >>>> 
> >>>> Anyone have any ideas what I need to do to make it work, or an alternate
> >>>> suggestion to make the equivalent work?
> >>> 
> >>> well i just tested genlist - put a different icon in elm.swallow.end vs
> >>> elm/swallow.icon - works. 2 different icons.  printf tells me it's calling
> >>> it for both positions. i can't reproduce your issue here :(
> >> 
> >> Did you try it for an elm label?
> >> 
> >> Icons work for me too.
> >> 
> >> .. Just not an elm_label().
> > 
> > is it complaining on stdout/err about not being able to calc a min size? :)
> 
> Nope. Nothing on stout except my debug to check the call. 
> > as
> > such sticking a label in an icon is a bit odd because you already have
> > labels i the item itself, but the problem probably is a min size calc thing
> > and may require special care that happened to work before by luck and not
> > by design : ( i know i dont intend labels to work "by design" due to their
> > nature (height is dependant on width thus u cant calc a min width AND
> > height without first fixing width).
> 
> Well basically I want a pretty standard list of left aligned labels with some
> right aligned values.  So if you have a suggestion I'd be happy to hear it.
> The values are all in the range 5-20 letters and are numeric (so should be
> right aligned).

there's a dual label item style already - but its a big label plus a smaller
one one above the other. you are in need of that - but just re-arranging them
to be left and right. create a new item style and provide it for all to use in
the default theme! :) then when other people need the same thing.. they
share! :)


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to