Difference between revisions of "UI.Panel"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2023.1<br/> '''Class:''' UI<br/> === Description === Creates a Panel widget. <syntaxhighlight lang="lua"> UI.Panel.new(color) </s...") |
|||
Line 22: | Line 22: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | {{ | + | {{UI}} |
Latest revision as of 07:19, 17 October 2023
Available since: Gideros 2023.1
Class: UI
Description
Creates a Panel widget.
UI.Panel.new(color)
Parameters
color: (hex) the Panel widget background color
Example
local gui = UI.Panel.new(0x4c4c4c)
gui:setDimensions(320, 320)
gui:setColor(0xaa0000)
gui:setPosition(50, 50)
stage:addChild(gui)
- UI.Accordion
- UI.Animation
- UI.Bar
- UI.Behavior
- UI.Border
- UI.BreadCrumbs
- UI.Builder
- UI.Button
- UI.Calendar
- UI.Checkbox
- UI.Combobox
- UI.ImageText
- UI.Keyboard
- UI.Label
- UI.Panel
- UI.Progress
- UI.Slider
- UI.Spinner
- UI.Splitpane
- UI.TabbedPane
- UI.Table
- UI.TextField
- UI.TimePicker
- UI.Toolbox
- UI.Tree
- UI.Viewport
- UI.WeekSchedule