Hello,

This patch will make elm_diskselector to use its parent width for its
minimum width value.
Please review the attached patch.

Sincerely,
Shinwoo Kim
Index: src/lib/elm_diskselector.c
===================================================================
--- src/lib/elm_diskselector.c	(revision 64194)
+++ src/lib/elm_diskselector.c	(working copy)
@@ -169,7 +169,12 @@ _theme_data_get(Widget_Data *wd)
 
    str = edje_object_data_get(wd->right_blank, "min_width");
    if (str) wd->minw = MAX(-1, atoi(str));
-   else wd->minw = -1;
+   else
+     {
+        parent = elm_widget_parent_widget_get(wd->self);
+        if (!parent) wd->minw = -1;
+        else evas_object_geometry_get(parent, NULL, NULL, &wd->minw, NULL);
+     }
 
    str = edje_object_data_get(wd->right_blank, "min_height");
    if (str) wd->minh = MAX(-1, atoi(str));
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to