projects
/
platform
/
framework
/
native
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c4b7c
)
Fixed TDIS-5654; Changed to adjust pressedRect when line count is 1.
author
clone
<ingyou.park@samsung.com>
Mon, 13 May 2013 04:19:18 +0000
(13:19 +0900)
committer
clone
<ingyou.park@samsung.com>
Mon, 13 May 2013 06:01:43 +0000
(15:01 +0900)
Change-Id: If22cf879d4078a106592ab3936da72c0d7e4c820
Signed-off-by: clone <ingyou.park@samsung.com>
src/ui/controls/FUiCtrl_ContextMenuGridPresenter.cpp
patch
|
blob
|
history
diff --git
a/src/ui/controls/FUiCtrl_ContextMenuGridPresenter.cpp
b/src/ui/controls/FUiCtrl_ContextMenuGridPresenter.cpp
index
222dcc8
..
d77e02d
100644
(file)
--- a/
src/ui/controls/FUiCtrl_ContextMenuGridPresenter.cpp
+++ b/
src/ui/controls/FUiCtrl_ContextMenuGridPresenter.cpp
@@
-990,11
+990,6
@@
_ContextMenuGridPresenter::AdjustItemLayoutTabStyle(void)
layoutSize.width = maxWidth - __itemGap;
layoutSize.height = lineCount * __itemHeight + (lineCount - 1) *__itemGap;
- if (lineCount == 1)
- {
- return layoutSize;
- }
-
// divide margin
int itemIndex = 0;
for (int line = 0; line < lineCount; line++)
@@
-1275,7
+1270,6
@@
_ContextMenuGridPresenter::DrawItem(Tizen::Graphics::Canvas* pCanvas)
}
FloatRectangle rect = pItem->GetDrawRect();
-
// divder
bool drawDivider = pItem->HasLowerDivider();
if (drawDivider == true)