Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/test


Modified Files:
        ewl_textarea_test.c 


Log Message:
Textarea scrollpane fix.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_textarea_test.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_textarea_test.c 27 Feb 2004 18:46:49 -0000      1.15
+++ ewl_textarea_test.c 28 Mar 2004 05:04:05 -0000      1.16
@@ -68,7 +68,6 @@
 {
        Ewl_Widget     *scrollpane;
        Ewl_Widget     *textarea_win;
-       Ewl_Widget     *textarea_box;
        Ewl_Widget     *textarea;
 
        ewl_callback_del(w, EWL_CALLBACK_CLICKED,
@@ -80,26 +79,17 @@
        ewl_window_set_title(EWL_WINDOW(textarea_win), "Textarea Test");
        ewl_window_set_name(EWL_WINDOW(textarea_win), "EWL Test Application");
        ewl_window_set_class(EWL_WINDOW(textarea_win), "EFL Test Application");
-       ewl_object_set_fill_policy(EWL_OBJECT(textarea_win),
-                       EWL_FLAG_FILL_FILL);
-       ewl_object_set_minimum_size(EWL_OBJECT(textarea_win), 200, 200);
-       ewl_object_set_maximum_size(EWL_OBJECT(textarea_win), 400, 400);
+       ewl_object_set_fill_policy(EWL_OBJECT(textarea_win), EWL_FLAG_FILL_ALL);
+       ewl_object_request_size(EWL_OBJECT(textarea_win), 100, 100);
        ewl_callback_append(textarea_win, EWL_CALLBACK_DELETE_WINDOW,
                            __destroy_textarea_test_window, NULL);
        ewl_widget_show(textarea_win);
 
        /*
-        * Create the main box for holding the widgets
-        */
-       textarea_box = ewl_vbox_new();
-       ewl_container_append_child(EWL_CONTAINER(textarea_win), textarea_box);
-       ewl_widget_show(textarea_box);
-
-       /*
         * Create a scrollpane to hold the text.
         */
        scrollpane = ewl_scrollpane_new();
-       ewl_container_append_child(EWL_CONTAINER(textarea_box), scrollpane);
+       ewl_container_append_child(EWL_CONTAINER(textarea_win), scrollpane);
        ewl_widget_show(scrollpane);
 
        /*




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to