Open sgmihai opened 2 weeks ago
import tui_widget var twHeader = newLabel(px = 1, py = 0, w = 10, h = 1, id = "header", bgColor = bgBlue, fgColor = fgYellow, text = "whatever") var tuiapp = newTerminalApp(border=false, rpms=20) tuiapp.addWidget(twHeader) tuiapp.run(nonBlocking=false)
Results in the bgcolor blue being applied to the next row after label, even though h = 1. If I put h = 2, I get 3 rows of background color, and so on.
Yes, this is a bug. Planned to fix in the next release.
Results in the bgcolor blue being applied to the next row after label, even though h = 1. If I put h = 2, I get 3 rows of background color, and so on.