discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=9859daee0766ee083995d1de37f261c45c491a9a

commit 9859daee0766ee083995d1de37f261c45c491a9a
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Mon Mar 17 12:23:07 2014 -0400

    bugfix: get entry width based on viewport size, not entry size
    
    things like icon properties dialog now fit on a 4k monitor
---
 src/bin/e_entry.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_entry.c b/src/bin/e_entry.c
index a5115cc..6c0eb07 100644
--- a/src/bin/e_entry.c
+++ b/src/bin/e_entry.c
@@ -243,12 +243,14 @@ EAPI void
 e_entry_size_min_get(Evas_Object *entry, Evas_Coord *minw, Evas_Coord *minh)
 {
    E_Entry_Smart_Data *sd;
+   int vw;
 
    if (evas_object_smart_smart_get(entry) != _e_entry_smart) SMARTERRNR();
    if ((!entry) || (!(sd = evas_object_smart_data_get(entry))))
      return;
 
-   if (minw) *minw = sd->theme_width + sd->min_width;
+   e_scrollframe_child_viewport_size_get(sd->scroll_object, &vw, NULL);
+   if (minw) *minw = sd->theme_width + vw;
    if (minh) *minh = sd->theme_height + sd->height;
 }
 

-- 


Reply via email to