RobLoach / RobLoach/nuklear_console
A Way to Set Height for All SubWidgets
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 22
- Forks
- 4
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
Using nk_console_set_height(widget, height) for EVERY button is exhausting if you want everything to be one size that isn't the default.
nk_layout_row_dynamic(ctx, height, 1) is how you normally solve this but nk_console_row does quite the opposite and doesn't appear to allow any customization as it defines it's height base on the tallest child where as you would usually use nk_layout_row to force children to a certain size and layout. This seems very counter intuitive.
Contributor guide
No contributing guide indexed for this repository
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
Start by examining nk_console_set_height(widget, height), nk_layout_row_dynamic(ctx, height, 1), and nk_console_row to understand how row height is currently selected. Define and verify a way for all subwidgets in a row to use a chosen height without calling nk_console_set_height for every button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100