summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-11-02 17:37:25 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-11-02 17:40:02 +0900
commitefa6fb70e62f32ae262e6c967c987e1cd7cb4d58 (patch)
tree172e23e4e3817e1a9fbf40c926f5b86ca64f5558
parent225b70465158e4886d0150ece63190823c6a92d4 (diff)
elm test: panes - revert the code
test_panes.c code was added into previous patch by accident.
-rw-r--r--src/bin/elementary/test_panes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/elementary/test_panes.c b/src/bin/elementary/test_panes.c
index bb4e7ff893..a4d6894b0f 100644
--- a/src/bin/elementary/test_panes.c
+++ b/src/bin/elementary/test_panes.c
@@ -123,24 +123,24 @@ test_panes_minsize(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
123 efl_add(EFL_UI_BUTTON_CLASS, win, 123 efl_add(EFL_UI_BUTTON_CLASS, win,
124 efl_text_set(efl_added, "Left - user set min size(110,110)"), 124 efl_text_set(efl_added, "Left - user set min size(110,110)"),
125 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(110, 110)), 125 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(110, 110)),
126 efl_content_set(efl_part(panes, "elm.swallow.left"), efl_added) 126 efl_content_set(efl_part(panes, "first"), efl_added)
127 ); 127 );
128 128
129 panes_h = efl_add(EFL_UI_PANES_CLASS, win, 129 panes_h = efl_add(EFL_UI_PANES_CLASS, win,
130 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL), 130 efl_ui_direction_set(efl_added, EFL_UI_DIR_HORIZONTAL),
131 efl_content_set(efl_part(panes, "elm.swallow.right"), efl_added) 131 efl_content_set(efl_part(panes, "second"), efl_added)
132 ); 132 );
133 efl_add(EFL_UI_BUTTON_CLASS, win, 133 efl_add(EFL_UI_BUTTON_CLASS, win,
134 efl_text_set(efl_added, "Up - user set min size(10,0)"), 134 efl_text_set(efl_added, "Up - user set min size(10,0)"),
135 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(10, 0)), 135 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(10, 0)),
136 efl_content_set(efl_part(panes_h, "elm.swallow.left"), efl_added) 136 efl_content_set(efl_part(panes_h, "first"), efl_added)
137 ); 137 );
138 efl_ui_panes_part_hint_min_allow_set(efl_part(panes_h, "first"), EINA_TRUE); 138 efl_ui_panes_part_hint_min_allow_set(efl_part(panes_h, "first"), EINA_TRUE);
139 139
140 efl_add(EFL_UI_BUTTON_CLASS, win, 140 efl_add(EFL_UI_BUTTON_CLASS, win,
141 efl_text_set(efl_added, "Down - min size 50 40"), 141 efl_text_set(efl_added, "Down - min size 50 40"),
142 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(50, 40)), 142 efl_gfx_size_hint_min_set(efl_added, EINA_SIZE2D(50, 40)),
143 efl_content_set(efl_part(panes_h, "elm.swallow.right"), efl_added) 143 efl_content_set(efl_part(panes_h, "second"), efl_added)
144 ); 144 );
145 145
146 efl_gfx_size_set(win, EINA_SIZE2D(320, 400)); 146 efl_gfx_size_set(win, EINA_SIZE2D(320, 400));