Added comment

This is an alternative way to the "{}" syntax to set a property
This commit is contained in:
supertobi
2016-03-13 21:11:04 +01:00
parent e1a2fbfaa6
commit 102ea2da7a

View File

@@ -40,7 +40,7 @@ local combobox = dt.new_widget("combobox"){label = "MyCombobox", value = 2, "8",
local entry = dt.new_widget("entry"){text = "test", placeholder = "placeholder"}
local file_chooser_button = dt.new_widget("file_chooser_button"){title = "MyFile_chooser_button"}
local label = dt.new_widget("label")
label.label = "MyLabel"
label.label = "MyLabel" -- This is an alternative way to the "{}" syntax to set a property
local separator = dt.new_widget("separator"){}
local slider = dt.new_widget("slider")