doc: update closebutton
This commit is contained in:
1 parent
e422842256
commit
87c28a72cf
1 file changed
+2
-1
@@ -3,7 +3,8 @@ Button widget that shows an "×" and handles closing window when tapped
|
||||
|
||||
Example:
|
||||
|
||||
local parent_widget = HorizontalGroup:new{}
|
||||
local CloseButton = require("ui/widget/closebutton")
|
||||
local parent_widget = OverlapGroup:new{}
|
||||
table.insert(parent_widget, CloseButton:new{
|
||||
window = parent_widget,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user