projects
/
framework
/
uifw
/
libscl-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc6fe67
)
add additional height space for label
author
yanjie.hu
<yanjie.hu@samsung.com>
Thu, 28 Mar 2013 12:18:11 +0000
(20:18 +0800)
committer
yanjie.hu
<yanjie.hu@samsung.com>
Thu, 28 Mar 2013 12:18:11 +0000
(20:18 +0800)
Change-Id: I04185ae1cbfe8c9d985341507fcd32b3611d937a
scl/gwes/efl/sclgraphics-efl.cpp
patch
|
blob
|
history
diff --git
a/scl/gwes/efl/sclgraphics-efl.cpp
b/scl/gwes/efl/sclgraphics-efl.cpp
index
40aff7c
..
7c9f885
100644
(file)
--- a/
scl/gwes/efl/sclgraphics-efl.cpp
+++ b/
scl/gwes/efl/sclgraphics-efl.cpp
@@
-655,6
+655,10
@@
CSCLGraphicsImplEfl::draw_text(sclwindow window, const scldrawctx draw_ctx, cons
static float _SPACE_RATE = 0.1;
calwidth *= 1 + _SPACE_RATE;
}
+ if (calheight > 0) {
+ static float _SPACE_RATE = 0.1;
+ calheight *= 1 + _SPACE_RATE;
+ }
/* FIXME : The following 2 lines are workaround for problem that EFL does not return correct font size */
sclint hardcoded_width = find_hardcoded_width(str, font_info.font_size);