Describe the bug
Checkbox not rendered correctly inside Splitter in 7.2.0. Works as expected in 7.1.0. Checkbox action does work via mouse if right co-ords clicked.
To Reproduce
Steps to reproduce the behavior:
with ptg.WindowManager() as manager:
window = (
ptg.Window(
"",
ptg.Splitter(
ptg.Checkbox(), # isn't visible when not selected
ptg.Label("some label"),
ptg.Checkbox(), # isn't visible when not selected AND doesn't contribute space to layout until selected
ptg.Label("some label"),
),
ptg.Checkbox(), # renders fine
"",
ptg.Button("Done", lambda *_: return),
width=80,
box="DOUBLE",
)
.set_title("[210 bold]Some Title")
.center()
)
manager.add(window)
Expected behavior
Visible checkboxes :)
Screenshots
7.2.0
(nothing selected)
(second checkbox selected)
7.1.0
System information
PyTermGUI version 7.2.0
System details:
Python version: 3.8.13
$TERM: xterm-256color
$COLORTERM: truecolor
Color support: ColorSystem.TRUE
OS Platform: Linux-5.15.0-39-generic-x86_64-with-glibc2.35
Describe the bug Checkbox not rendered correctly inside Splitter in 7.2.0. Works as expected in 7.1.0. Checkbox action does work via mouse if right co-ords clicked.
To Reproduce Steps to reproduce the behavior:
Expected behavior Visible checkboxes :)
Screenshots
7.2.0 (nothing selected)
(second checkbox selected)
7.1.0
System information