Hi,

I'm trying to make a toolbar with left aligned icons but right align an 
icon too.
I have tried to make this happen by inserting an item (or seperator) 
that has a EXPAND weight but that doesn't work.
I can resize the object to a specific value which will push the right 
item out but that's only to a specific distance from the left aligned 
icons rather than the right hand side.

    tb_it = elm_toolbar_item_append(tb, "separator", "", NULL, NULL);
    spacer = elm_box_add(tb);
    elm_object_item_part_content_set(tb_it, "object", spacer);
    evas_object_size_hint_weight_set(spacer, EVAS_HINT_EXPAND, 
EVAS_HINT_EXPAND);
    evas_object_size_hint_align_set(spacer, EVAS_HINT_FILL, EVAS_HINT_FILL);
    evas_object_show(spacer);

Anyone got a tip - am I missing something obvious?

Thanks,
Andy

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to