Immediate-Mode-UI / Immediate-Mode-UI/Nuklear

Group margins/alignment Ubuntu

Open
#617 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
11.4k
Forks
686
Avg merge
4d 1h
Merged PRs (30d)
3

Description

Hi team
I have recently started learning/using Nuklear. I don't know if this is a Nuklear, Allegro5 or Ubuntu 20.04 issue :(

Using groups in Windows aligns correctly, but under Ubuntu the top and left side is cut off of widgets.
Has anyone else encountered this?
If so, are there settings in the source where I can change the top and left margins to navigate around this?

Best Regards
Axle

Ubuntu (Missing top left margin)
![NK_Ubuntu](https://github.com/Immediate-Mode-UI/Nuklear/assets/57524738/165eb089-ee3e-4809-97c5-29b4b6f7e6fb)
Windows (Margins are fine)
![NK_Windows](https://github.com/Immediate-Mode-UI/Nuklear/assets/57524738/d8d7e82f-8cef-4ff0-93fe-e0b8d055ff23)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the group widget clipping on Ubuntu 20.04 and comparing it with the Windows behavior shown in the issue. Check the Nuklear and Allegro5 integration involved in group margins and alignment; done means the top and left edges of widgets are no longer cut off on Ubuntu.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ubuntu
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.