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
/
flex-container
/
flex-container-example.cpp
diff --git
a/examples/flex-container/flex-container-example.cpp
b/examples/flex-container/flex-container-example.cpp
index
6898dbd
..
4178991
100644
(file)
--- a/
examples/flex-container/flex-container-example.cpp
+++ b/
examples/flex-container/flex-container-example.cpp
@@
-231,7
+231,7
@@
public:
// Add a label to the button so that we can identify each item more easily
std::ostringstream index;
index << i + 1;
// Add a label to the button so that we can identify each item more easily
std::ostringstream index;
index << i + 1;
- flexItem.Set
LabelText(index.str()
);
+ flexItem.Set
Property( Toolkit::Button::Property::LABEL, index.str()
);
flexItem.SetName("FlexItem " + index.str());
// Set a fixed size to the items so that we can wrap the line and test these
flexItem.SetName("FlexItem " + index.str());
// Set a fixed size to the items so that we can wrap the line and test these