radiobutton bgcolor and fgcolor seem to be problematic. In the code below, when we make the window a black color, the radio button texts do not appear
local ui = require "ui"
local win = ui.Window("Radiobutton.constructor() sample", 150, 150)
win.bgcolor = 0x202020
local radiobutton1 = ui.Radiobutton(win, "Easy", 30, 10)
radiobutton1.bgcolor = 0xFFFF00
radiobutton1.fgcolor = 0xFF0000
win:show()
repeat
ui.update()
until not win.visible
Edit: the same issue also applies to checkbox