projects
/
profile
/
mobile
/
apps
/
native
/
attach-panel-gallery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7cc526
)
Corrected Grid Size in landscape Mode
98/71298/1
author
Chandan
<ch.kumar@samsung.com>
Wed, 25 May 2016 03:10:53 +0000
(08:40 +0530)
committer
Chandan
<ch.kumar@samsung.com>
Wed, 25 May 2016 03:10:53 +0000
(08:40 +0530)
Change-Id: Iafdee5145369c51e5523a10a32111cadf17ffa8d
Signed-off-by: Chandan <ch.kumar@samsung.com>
src/view/ge-albums.c
patch
|
blob
|
history
diff --git
a/src/view/ge-albums.c
b/src/view/ge-albums.c
index
9edbf84
..
6e99235
100644
(file)
--- a/
src/view/ge-albums.c
+++ b/
src/view/ge-albums.c
@@
-1458,6
+1458,11
@@
ge_update_gengrid(ge_ugdata *ugd)
elm_win_screen_size_get(ugd->win, &win_x, &win_y, &win_w, &win_h);
int size = (win_w / 4);
+
+ if (ugd->rotate_mode == GE_ROTATE_LANDSCAPE_UPSIDEDOWN || ugd->rotate_mode == GE_ROTATE_LANDSCAPE) {
+ size = (win_h / 7);
+ }
+
if (ugd->thumbs_d->medias_elist) {
_ge_data_util_free_mtype_items(&ugd->thumbs_d->medias_elist);
}