projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1017b0c
)
elm_panes : modified to keep panes content left size after orientation changed
author
JEONGHYUN YUN
<jh0506.yun@samsung.com>
Fri, 8 Jul 2016 00:49:50 +0000
(09:49 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Fri, 8 Jul 2016 00:49:51 +0000
(09:49 +0900)
Reviewers: woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4141
src/lib/elementary/elm_panes.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_panes.c
b/src/lib/elementary/elm_panes.c
index
a54d646
..
6fcaab0
100644
(file)
--- a/
src/lib/elementary/elm_panes.c
+++ b/
src/lib/elementary/elm_panes.c
@@
-425,11
+425,13
@@
_elm_panes_efl_orientation_orientation_set(Eo *obj, Elm_Panes_Data *sd, Efl_Orie
if ((dir != EFL_ORIENT_HORIZONTAL) && (dir != EFL_ORIENT_VERTICAL))
return;
+ double size = elm_panes_content_left_size_get(obj);
+
sd->orientation = dir;
elm_obj_widget_theme_apply(obj);
_update_fixed_sides(obj);
- elm_panes_content_left_size_set(obj,
0.5
);
+ elm_panes_content_left_size_set(obj,
size
);
}
EOLIAN static Efl_Orient