bug: create label got crash #124

Open
opened 2024-11-13 14:53:35 +08:00 by misaka18848 · 0 comments
misaka18848 commented 2024-11-13 14:53:35 +08:00 (Migrated from github.com)

image
local basalt = require("basalt")

basalt.setTheme({
ButtonBG = colors.lightBlue,
ButtonText = colors.white,
FrameBG = colors.white
})

local start = basalt.createFrame()
local aLabel = start:addLabel()
aLabel:setText("Hello, World!")
aLabel:setFontSize(2)

basalt.autoUpdate()

![image](https://github.com/user-attachments/assets/12a62624-1748-4d58-8ac8-734f9d9cfedc) local basalt = require("basalt") basalt.setTheme({ ButtonBG = colors.lightBlue, ButtonText = colors.white, FrameBG = colors.white }) local start = basalt.createFrame() local aLabel = start:addLabel() aLabel:setText("Hello, World!") aLabel:setFontSize(2) basalt.autoUpdate()
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GitHub/Basalt#124
No description provided.