Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
checkbox behaviour is reversed and wrong
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
When the checkbox is active, its square should be coloured and when is inactive it should be uncoloured.
To better illustrate this, consider the following current implementation:
Checkbox active: 
Checkbox inactive: 
Currently, IMO this behaviour is reversed and wrong, .i.e., they look to me like the checkbox icons should be reversed.
You can check that behaviour in overview -> Widgets -> Inactive.
Ideally, to avoid confusion, one would want a checkbox that displays sort of a cross when active, like this (with customizable color):

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the current behavior in overview → Widgets → Inactive and compare the active and inactive checkbox appearances with the issue screenshots. Locate the checkbox rendering entry point, then verify that active and inactive states use the intended coloring and that the selected active mark can support a customizable color.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- design, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100