WindUI

Paragraph

Creating Paragraph and Editing it

Creating Paragraph

local Paragraph = Tab:Paragraph({
    Title = "Paragraph with Image, Thumbnail, Buttons",
    Desc = "Test Paragraph",
    Color = "Red",
    Image = "",
    ImageSize = 30,
    Thumbnail = "",
    ThumbnailSize = 80,
    Locked = false,
    Buttons = {
        {
            Icon = "bird",
            Title = "Button",
            Callback = function() print("1 Button") end,
        }
    }
})

Set Title

Paragraph:SetTitle("Title Example")

Set Description

Paragraph:SetDesc("DescriptionExample")

Destroy Element

Paragraph:Destroy()

API

Paragraph Options

PropTypeDefault
Buttons?
table
{}
Locked?
boolean
false
ThumbnailSize?
number
80
Thumbnail?
string
nil
IconThemed?
boolean
false
ImageSize?
number
22
Image?
string
nil
Desc?
string
nil
Title
string
Paragraph

Button Options (inside paragraph)

PropTypeDefault
Callback?
function
nil
Icon?
string
nil
Title
string
Button

Paragraph colors

PreviewNameHex
Red#e53935
Orange#f57c00
Green#43a047
Blue#039be5
White#ffffff
Grey#484848

On this page