pButton->AcquireHandle();
+ pButton->SetTouchPressThreshold(SENSITIVE);
+
return pButton;
CATCH:
pLabel->AcquireHandle();
+ pLabel->SetTouchPressThreshold(SENSITIVE);
+
return pLabel;
CATCH:
pTab->__pGestureLongPress = new (std::nothrow) _TouchLongPressGestureDetector;
SysTryCatch(NID_UI_CTRL, pTab->__pGestureLongPress, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
- pTab->__pGestureLongPress->SetDuration(300);
+ pTab->__pGestureLongPress->SetDuration(500);
pTab->AddGestureDetector(*(pTab->__pGestureLongPress));
r = pTab->__pGestureLongPress->AddGestureListener(*pTab);
SysTryCatch(NID_UI_CTRL, (r == E_SUCCESS), , r = E_SYSTEM, "[E_SYSTEM] A system error has occurred. The _ITouchGestureEventListener instance could not be set.");
pToolbar->Initialize(header);
pToolbar->AcquireHandle();
+ pToolbar->SetTouchPressThreshold(SENSITIVE);
+
return pToolbar;
}
__pLongPressGesture = new (std::nothrow) _TouchLongPressGestureDetector();
SysTryReturn(NID_UI_CTRL, __pLongPressGesture, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Failed to create touch long press gesture.");
- __pLongPressGesture->SetDuration(300);
+ __pLongPressGesture->SetDuration(500);
r = AddGestureDetector(*__pLongPressGesture);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Failed to add gesture detector", GetErrorMessage(r));
__pButtonItems[position] = null;
}
+ RearrangeItems();
+
return E_SUCCESS;
}
__pItems.erase(__pItems.begin() + itemIndex);
+ RearrangeItems();
+
return E_SUCCESS;
}
Tizen::Graphics::FloatRectangle __userDefinedTextArea;
Tizen::Ui::_AccessibilityElement* __pTextElement;
+
+ static const float SENSITIVE = 0.08f;
}; // _Button
}}} // Tizen::Ui::Controls
float __bottomMargin;
Tizen::Ui::_AccessibilityElement* __pTextElement;
+
+ static const float SENSITIVE = 0.08f;
}; // _Label
}}} // Tizen::Ui::Controls
Tizen::Graphics::FloatRectangle __itemArea;
Tizen::Ui::_AccessibilityElement* __pTitleTextElement;
+
+ static const float SENSITIVE = 0.08f;
};
}}} // Tizen::Ui::Controls