rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=ce25a86835c96a951bb211810623ec871f5ed570

commit ce25a86835c96a951bb211810623ec871f5ed570
Author: Vitalii Vorobiov <[email protected]>
Date:   Thu May 26 20:13:46 2016 +0300

    property_group: size of font in part can be no lower than 1
    
    Fixes T3540
---
 src/bin/ui/property/property_group.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index ad1e89d..e300e2f 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -756,7 +756,6 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
       case ATTRIBUTE_STATE_TEXT_MAX_Y:
       case ATTRIBUTE_STATE_TEXT_FIT_X:
       case ATTRIBUTE_STATE_TEXT_FIT_Y:
-      case ATTRIBUTE_STATE_TEXT_SIZE:
       case ATTRIBUTE_STATE_TEXT_ELIPSIS_ENABLE:
       case ATTRIBUTE_STATE_TEXT_SOURCE:
       case ATTRIBUTE_STATE_TEXT_TEXT_SOURCE:
@@ -774,6 +773,9 @@ _init_cb(Property_Attribute *pa, Property_Action *action)
       case ATTRIBUTE_PROGRAM_STATE:
       case ATTRIBUTE_PROGRAM_TRANSITION_FROM_CURRENT:
          break;
+      case ATTRIBUTE_STATE_TEXT_SIZE:
+         elm_spinner_min_max_set(action->control, 1, 9999);
+         break;
       case ATTRIBUTE_STATE_MAX_W:
       case ATTRIBUTE_STATE_MAX_H:
       case ATTRIBUTE_PART_ITEM_MAX_W:

-- 


Reply via email to