result
_LabelImpl::SetMargin(int topMargin, int leftMargin)
{
- SysTryReturn(NID_UI_CTRL, (topMargin > 0 && leftMargin > 0), E_INVALID_ARG, E_INVALID_ARG, "The margin values should be greater than 0", GetErrorMessage(E_INVALID_ARG));
+// SysTryReturn(NID_UI_CTRL, (topMargin > 0 && leftMargin > 0), E_INVALID_ARG, E_INVALID_ARG, "The margin values should be greater than 0", GetErrorMessage(E_INVALID_ARG));
result r = GetCore().SetMargin(topMargin, leftMargin);
SetLastResultReturn(r);
}
result
_LabelImpl::SetMargin(float topMargin, float leftMargin)
{
- SysTryReturn(NID_UI_CTRL, (topMargin > 0.0f && leftMargin > 0.0f), E_INVALID_ARG, E_INVALID_ARG, "The margin values should be greater than 0.0f", GetErrorMessage(E_INVALID_ARG));
+// SysTryReturn(NID_UI_CTRL, (topMargin > 0.0f && leftMargin > 0.0f), E_INVALID_ARG, E_INVALID_ARG, "The margin values should be greater than 0.0f", GetErrorMessage(E_INVALID_ARG));
result r = GetCore().SetMargin(topMargin, leftMargin);
SetLastResultReturn(r);
}