summaryrefslogtreecommitdiff
path: root/mobile/widgets/layout.edc
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2015-08-17 17:36:55 +0900
committerYoungbok Shin <youngb.shin@samsung.com>2015-08-17 17:37:05 +0900
commit36952190b329921940e344a3069b0444b4555b1a (patch)
tree3d3902ef79d8c023bc4e4c0b338da795122a4818 /mobile/widgets/layout.edc
parent89c964f5d02c9dd051e69097fc192442f5ceabdf (diff)
downloadefl-theme-tizen-mobile-36952190b329921940e344a3069b0444b4555b1a.tar.gz
efl-theme-tizen-mobile-36952190b329921940e344a3069b0444b4555b1a.tar.bz2
efl-theme-tizen-mobile-36952190b329921940e344a3069b0444b4555b1a.zip
Revert "[2.4][layout] Fixed ellipsis logic for nocontent style."
This reverts commit 1ab7dfdc318c48541db09d35bf590055e007a985. Change-Id: I6b6ef17b6ac9df7afe244e2b71abc328c644ba2a
Diffstat (limited to 'mobile/widgets/layout.edc')
-rw-r--r--mobile/widgets/layout.edc22
1 files changed, 0 insertions, 22 deletions
diff --git a/mobile/widgets/layout.edc b/mobile/widgets/layout.edc
index 7ee4726d..1a2c7fe5 100644
--- a/mobile/widgets/layout.edc
+++ b/mobile/widgets/layout.edc
@@ -234,10 +234,6 @@ group {
max: 0 1;
}
}
- description { state: "expanded" 0.0;
- inherit: "default";
- text.style: "empty_state_3";
- }
}
}
programs {
@@ -245,30 +241,12 @@ group {
signal: "align.center";
source: "elm";
script {
- new x,y,w,h;
- new total_h;
- new others_h;
- new help_text_h;
new buf[1024];
-
get_text(PART:"elm.help.text", buf, 1024);
if (strlen(buf) > 0)
set_state(PART:"elm.text", "help_text_set", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
-
- get_geometry(PART:"text_bg", x,y,w,h);
- total_h = h;
- get_geometry(PART:"elm.text", x,y,w,h);
- others_h += h;
- get_geometry(PART:"padding_after_text", x,y,w,h);
- others_h += h;
- get_geometry(PART:"help_text_top_padding", x,y,w,h);
- others_h += h;
- get_geometry(PART:"elm.help.text", x,y,w,h);
- help_text_h = h;
- if (help_text_h > (total_h - others_h))
- set_state(PART:"elm.help.text", "expanded", 0.0);
}
}
}