The file attached ... http://watchwolf.fr/public/Eyelight/eyelight_item_height_bug.png
2009/6/22 Atton Jonathan <jonathan.at...@gmail.com> > hey, > > In eyelight I use some vertical layout but I don't get what I want. The > items are not set to the top but are placed to fill all the box. It seems > than the layout does: > the layout height / number of items = height of an item, each item has the > same height ! > > My items are created from an edje group with a textblock inside. > > I have attached a screenshot of the pb, each item has the same height, > consequently the last item (the bigger item) is not completely display ! The > vertical layout is not supposed to fit the item list to the top ? > > With the help of Sachiel I have made some tests, especially try to set the > max size with the result of evas_object_geometry_get() but the result is 0 > :/ > > Currently my code is: > > Evas_Object *o_text = edje_object_add(pres->evas); > edje_object_file_set(o_text, pres->theme, "eyelight/item_simple_text") > ; > edje_object_part_text_set(o_text,"object.text",text); > evas_object_size_hint_align_set(o_text, -1, -1); > evas_object_size_hint_weight_set(o_text, -1, -1); > evas_object_show(o_text); > evas_object_move(o_text, 0, 0); > edje_object_part_box_append(o_area,buf,o_text); > > -- > Regards. > -- Regards. ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel