- bool bEditable = !mTextField.GetProperty( DevelTextField::Property::ENABLE_EDITING).Get<int>();
- mTextField.SetProperty( DevelTextField::Property::ENABLE_EDITING , bEditable);
- if (bEditable)
- {
- mBtnEditable.SetProperty(Button::Property::LABEL, "Non-editable");
- mBtnEditable.SetBackgroundColor(Color::RED);
- }
+ bool bEditable = !mTextField.GetProperty(DevelTextField::Property::ENABLE_EDITING).Get<int>();
+ mTextField.SetProperty(DevelTextField::Property::ENABLE_EDITING, bEditable);
+ if(bEditable)
+ {
+ mBtnEditable.SetProperty(Button::Property::LABEL, "Non-editable");
+ mBtnEditable.SetBackgroundColor(Color::RED);
+ }