Enlightenment CVS committal
Author : ravenlock
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_widget_textblock.c
Log Message:
Reset textblock size to (0,0) before setting text. This seems to help the
proper display of scrollbars in situations in which you are repeatedly changing
the contents of the textblock.
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_widget_textblock.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_widget_textblock.c 23 Aug 2006 03:39:02 -0000 1.5
+++ e_widget_textblock.c 27 Aug 2007 03:22:08 -0000 1.6
@@ -56,6 +56,9 @@
Evas_Coord mw, mh, vw, vh;
wd = e_widget_data_get(obj);
+
+ evas_object_resize(wd->o_textblock, 0, 0);
+
edje_object_part_text_set(wd->o_textblock, "e.textblock.text", text);
edje_object_size_min_calc(wd->o_textblock, &mw, &mh);
e_scrollframe_child_viewport_size_get(wd->o_scrollframe, &vw, &vh);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs