Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_calendar.c 


Log Message:
align numbers right and the days centered

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_calendar.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- ewl_calendar.c      11 Mar 2007 22:35:56 -0000      1.26
+++ ewl_calendar.c      18 Mar 2007 08:13:38 -0000      1.27
@@ -279,6 +279,8 @@
                snprintf(day, sizeof(day), "%d", cur_day + 1); 
                day_label = ewl_label_new();
                ewl_label_text_set(EWL_LABEL(day_label), day);
+               ewl_object_alignment_set(EWL_OBJECT(day_label), 
+                                                       EWL_FLAG_ALIGN_RIGHT);
                ewl_callback_append(EWL_WIDGET(day_label), 
                                        EWL_CALLBACK_MOUSE_DOWN, 
                                        ewl_calendar_day_select_cb, cal);
@@ -444,6 +446,8 @@
                ewl_label_text_set(EWL_LABEL(day_label), days[i]);
                ewl_container_child_append(EWL_CONTAINER(ib->grid),
                                                        day_label);
+               ewl_object_alignment_set(EWL_OBJECT(day_label), 
+                                                       EWL_FLAG_ALIGN_CENTER);
                ewl_widget_show(day_label);
        }
 



-------------------------------------------------------------------------
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