Edje min_size_calc: Fix detection of textblock.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 May 2011 14:28:01 +0000 (14:28 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 29 May 2011 14:28:01 +0000 (14:28 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@59785 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_util.c

index cb268b7..c442c25 100644 (file)
@@ -2257,8 +2257,12 @@ edje_object_size_min_restricted_calc(Evas_Object *obj, Evas_Coord *minw, Evas_Co
                                 okh = 1;
                                 pep = ep;
                              }
-                            has_non_fixed_tb = EINA_TRUE;
                         }
+
+                       if (ep->part->type == EDJE_PART_TYPE_TEXTBLOCK)
+                         {
+                            has_non_fixed_tb = EINA_TRUE;
+                         }
                    }
               }
          }