Enlightenment CVS committal

Author  : moom
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_label.c 


Log Message:
* [Label] Sometimes the label's width has to be a bit bigger to prevent 
the text from being wrapped. So 1px is added to the native width returrned
by Evas. It should fix some problems with multiline labels.


===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_label.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- etk_label.c 20 Oct 2006 17:51:44 -0000      1.23
+++ etk_label.c 27 Dec 2006 17:35:12 -0000      1.24
@@ -262,7 +262,7 @@
    etk_widget_size_request(widget, &requested_size);
    evas_object_move(label->text_object, geometry.x + (geometry.w - 
requested_size.w) * label->xalign,
       geometry.y + (geometry.h - requested_size.h) * label->yalign);
-   evas_object_resize(label->text_object, requested_size.w, requested_size.h);
+   evas_object_resize(label->text_object, requested_size.w + 1, 
requested_size.h);
 
    evas_object_move(label->clip, geometry.x, geometry.y);
    evas_object_resize(label->clip, geometry.w, geometry.h);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to