[*][ctxpopup] compress item
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 10 Oct 2011 11:16:03 +0000 (20:16 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 10 Oct 2011 11:16:03 +0000 (20:16 +0900)
Change-Id: Id03840f9b94c62e5662f6f995fb932326ce3a16e

themes/groups/ctxpopup.edc

index 429cc1e..2844c80 100644 (file)
                                        }
                                }
                                description {
+                                       state: "compress" 0.0;
+                                       inherit: "default" 0.0;
+                                       max: -1 -1;
+                                       text {
+                                               min: 0 1;
+                                       }
+                               }
+                               description {
                                        state: "clicked" 0.0;
                                        inherit: "default" 0.0;
                                        color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
                                }
                        }
                        program {
+                               name: "compress";
+                               signal: "elm,state,compress";
+                               source: "elm";
+                               action: STATE_SET "compress" 0.0;
+                               target: "elm.text";
+                       }
+                       program {
                                name: "vertical";
                                signal: "elm,state,vertical";
                                source: "elm";
                                signal: "mouse,up,1";
                                source: "over2";
                                script {
-                                       set_state(PART:"elm.text", "default", 0.0);
+                                       set_state(PART:"elm.text", "compress", 0.0);
                                        set_state(PART:"bg", "default", 0.0);
                                }
                        }
                                        }
                                }
                                description {
+                                       state: "compress" 0.0;
+                                       inherit: "default" 0.0;
+                                       max: -1 -1;
+                                       text {
+                                               min: 0 1;
+                                       }
+                               }
+                               description {
                                        state: "clicked" 0.0;
                                        inherit: "default" 0.0;
                                        color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
                                }
                        }
                        program {
+                               name: "compress";
+                               signal: "elm,state,compress";
+                               source: "elm";
+                               action: STATE_SET "compress" 0.0;
+                               target: "elm.text";
+                       }
+                       program {
                                name: "vertical";
                                signal: "elm,state,vertical";
                                source: "elm";
                                signal: "mouse,up,1";
                                source: "over2";
                                script {
-                                       set_state(PART:"elm.text", "default", 0.0);
+                                       set_state(PART:"elm.text", "compress", 0.0);
                                        set_state(PART:"bg", "default", 0.0);
                                }
                        }