diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test_elm_win-native.rb | 2 | ||||
-rw-r--r-- | test/test_elm_win.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_elm_win-native.rb b/test/test_elm_win-native.rb index 22e7a8a..099e26a 100644 --- a/test/test_elm_win-native.rb +++ b/test/test_elm_win-native.rb @@ -22,7 +22,7 @@ elm_win_resize_object_add win, bg evas_object_show bg # lb = elm_label_add win -elm_label_label_set lb, "Hello World!" +elm_object_text_part_set lb, nil, "Hello World" evas_object_size_hint_weight_set lb, 1.0, 1.0 elm_win_resize_object_add win, lb evas_object_show lb diff --git a/test/test_elm_win.rb b/test/test_elm_win.rb index be735b8..d872fa8 100644 --- a/test/test_elm_win.rb +++ b/test/test_elm_win.rb @@ -22,7 +22,7 @@ class MyWin < Elm::ElmWin end resize_object_add @bg @lb = Elm::ElmLabel.new(self) do |lb| - lb.label = "Hello World!" + lb.text_set "Hello World!" lb.size_hint_align_fill lb.size_hint_weight_expand end |