Fix a popup position error caused by SetInheritPosition() change 53/136953/2
authorHeeyong Song <heeyong.song@samsung.com>
Tue, 4 Jul 2017 01:36:05 +0000 (10:36 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Tue, 4 Jul 2017 05:32:12 +0000 (05:32 +0000)
Change-Id: I26e9a223a214111a6ae3d7f30fc2d79342b4b189

dali-toolkit/internal/controls/popup/popup-impl.cpp
dali-toolkit/public-api/controls/buttons/button.cpp

index 7374138..c7dd2e4 100644 (file)
@@ -919,7 +919,6 @@ Toolkit::Control Popup::CreateBacking()
 
   // Must always be positioned top-left of stage, regardless of parent.
   backing.SetInheritPosition(false);
-  backing.SetAnchorPoint( AnchorPoint::TOP_LEFT );
 
   // Always the full size of the stage.
   backing.SetResizePolicy( ResizePolicy::FIXED, Dimension::ALL_DIMENSIONS );
index 2dd17c3..52ebd8f 100644 (file)
@@ -97,7 +97,7 @@ void Button::SetInitialAutoRepeatingDelay( float initialAutoRepeatingDelay )
 
 float Button::GetInitialAutoRepeatingDelay() const
 {
-  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: SetPositionInheritanceMode() is deprecated and will be removed from next release. Use GetProperty INITIAL_AUTO_REPEATING_DELAY or Styling file instead.\n" );
+  DALI_LOG_WARNING_NOFN("DEPRECATION WARNING: GetInitialAutoRepeatingDelay() is deprecated and will be removed from next release. Use GetProperty INITIAL_AUTO_REPEATING_DELAY or Styling file instead.\n" );
 
   return Dali::Toolkit::GetImplementation( *this ).GetInitialAutoRepeatingDelay();
 }