projects
/
platform
/
core
/
uifw
/
dali-demo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Property:LABEL instead of SetLabelText for buttons
[platform/core/uifw/dali-demo.git]
/
examples
/
text-field
/
text-field-example.cpp
diff --git
a/examples/text-field/text-field-example.cpp
b/examples/text-field/text-field-example.cpp
index
70e7e7d
..
5e025b1
100644
(file)
--- a/
examples/text-field/text-field-example.cpp
+++ b/
examples/text-field/text-field-example.cpp
@@
-152,7
+152,7
@@
public:
{
Property::Value text = mField.GetProperty( TextField::Property::TEXT );
mButtonLabel = text.Get< std::string >();
{
Property::Value text = mField.GetProperty( TextField::Property::TEXT );
mButtonLabel = text.Get< std::string >();
- mButton.Set
LabelText(
mButtonLabel );
+ mButton.Set
Property( Toolkit::Button::Property::LABEL,
mButtonLabel );
}
// Hide & discard the pop-up
}
// Hide & discard the pop-up
@@
-177,7
+177,7
@@
public:
{
Property::Value text = mField.GetProperty( TextField::Property::TEXT );
mButtonLabel = text.Get< std::string >();
{
Property::Value text = mField.GetProperty( TextField::Property::TEXT );
mButtonLabel = text.Get< std::string >();
- mButton.Set
LabelText(
mButtonLabel );
+ mButton.Set
Property( Toolkit::Button::Property::LABEL,
mButtonLabel );
mField.ClearKeyInputFocus();
}
break;
mField.ClearKeyInputFocus();
}
break;