On Tuesday, July 12, 2011 09:56:45 Tom Hacohen wrote: > On 12/07/11 00:14, Jonas M. Gastal wrote: > > Hey all, > > > > I've been trying to write documentation for elm_label, however there are > > a > > > > number of things that seem to not work: > > - elm_label_ellipsis_set() is only respected for ELM_WRAP_CHAR > > It also works with ELM_WRAP_WORD/NONE here... > > > - elm_label_slide_set() doesn't work(no change setting it to true or > > false) > > Did you set up style? > elm_object_style_set(label, "slide_long"); > Slide duration? > elm_label_slide_duration_set(label, 5); > > > - elm_object_style_set(label, "marker") causes the label's text to > > not show > > Dunno about this one. > > > - elm_label_wrap_width_set() and elm_label_wrap_height_set() do > > nothing > > Wrap width and wrap height define size limits on the object. Calling > them does essentially two things: > 1. Set hint_max on the label object to the wrap sizes. > 2. Make sure the object wraps at those limits no matter what. (in the > case of height restriction, it's making sure the text gets ellipsized). > > I hope this helped, > Tom.
Tom, You certainly did help, I got almost everything to work as expected. However a few issues remain: - the "marker" style which was mentioned in the previously existing documentation is present in the default.edc file, but using it causes the text of the label to dissapear. - elm_label_ellipsis_set() doesn't work for ELM_WRAP_WORD(tough it does for ELM_WRAP_NONE). If you(or anyone else) likes I can create a ticket in trac with sample code. Best regards, Gastal. ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel