Enlightenment CVS committal
Author : titan
Project : e17
Module : apps/ephoto
Dir : e17/apps/ephoto/src/bin
Modified Files:
ephoto_main.c ephoto_normal_view.c
Log Message:
Make the slider fixed size, and aligned to the right.
===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_main.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- ephoto_main.c 9 Jun 2007 16:04:10 -0000 1.42
+++ ephoto_main.c 10 Jun 2007 21:11:29 -0000 1.43
@@ -135,7 +135,7 @@
add_edit_view(em->edit_vbox);
- em->view = add_box(em->main_vbox, EWL_ORIENTATION_HORIZONTAL, 2);
+ em->view = add_box(em->main_vbox, EWL_ORIENTATION_HORIZONTAL, 1);
ewl_object_fill_policy_set(EWL_OBJECT(em->view), EWL_FLAG_FILL_ALL);
em->browser = ewl_notebook_new();
===================================================================
RCS file: /cvs/e/e17/apps/ephoto/src/bin/ephoto_normal_view.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- ephoto_normal_view.c 1 Jun 2007 21:46:19 -0000 1.16
+++ ephoto_normal_view.c 10 Jun 2007 21:11:29 -0000 1.17
@@ -47,6 +47,8 @@
ewl_range_value_set(EWL_RANGE(em->fthumb_size), 64);
ewl_container_child_append(EWL_CONTAINER(em->fbox_vbox),
em->fthumb_size);
ewl_callback_append(em->fthumb_size, EWL_CALLBACK_VALUE_CHANGED,
change_size, NULL);
+ ewl_object_alignment_set(EWL_OBJECT(em->fthumb_size),
EWL_FLAG_ALIGN_RIGHT);
+ ewl_object_maximum_size_set(EWL_OBJECT(em->fthumb_size), 100, 25);
ewl_widget_show(em->fthumb_size);
return em->fbox_vbox;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs