projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7892388
)
Fixed logic calculating clientbounds and absbounds.
author
Keuckdo Bang
<keuckdo.bang@samsung.net>
Fri, 22 Mar 2013 07:54:00 +0000
(16:54 +0900)
committer
Keuckdo Bang
<keuckdo.bang@samsung.net>
Fri, 22 Mar 2013 07:54:00 +0000
(16:54 +0900)
Change-Id: I2b65d1d56142109a541cbf813863ef4bfe53f844
src/ui/FUi_Control.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_Control.cpp
b/src/ui/FUi_Control.cpp
index
347fb65
..
470d84f
100755
(executable)
--- a/
src/ui/FUi_Control.cpp
+++ b/
src/ui/FUi_Control.cpp
@@
-2875,9
+2875,9
@@
_Control::UpdateBoundsOfVisualElement(const FloatRectangle& controlBounds)
_Control* pParent = GetParent();
if (__area == _CONTROL_AREA_CLIENT && pParent)
{
- const
Rectangle clientBounds = pParent->GetClientBounds
();
- rect.x +=
(float)
clientBounds.x;
- rect.y +=
(float)
clientBounds.y;
+ const
FloatRectangle clientBounds = pParent->GetClientBoundsF
();
+ rect.x += clientBounds.x;
+ rect.y += clientBounds.y;
}
GetVisualElement()->SetBounds(rect);