neroist / uing

A fork of ui that wraps libui-ng instead of libui
https://uing.nim.town
MIT License
158 stars 5 forks source link

macosx screenshots and possible bug #4

Closed stoneface86 closed 1 year ago

stoneface86 commented 1 year ago

Was trying out this library on a Mac VM since there aren't any screenshots yet and I noticed a weird layout issue on the second page of controlgallery3.nim. I took screenshots of all three tabs if you want to use them.

macosx1

Problem is here, it lays out the radio buttons with some vertical spacing in between the third one for some reason. Dunno if this is an issue with ui-ng, the wrapper, or the example program:

macosx2 macosx3

The problem goes away when resizing the window, but reappears when switching tabs. I am using a VM of Mojave (10.14.4).

neroist commented 1 year ago

Try compiling and running the original C example and see if the issue still appears. If so, file an issue on the libui-ng repo. Also, thank you for the screenshots! It would be also appreciated if you could also get some screenshots of the other example programs!

stoneface86 commented 1 year ago

Yup, same issue appears in the libui-ng repo. At least it does on monterey, I gave up trying to compile it on mojave.

Here's some screenshots of the other example programs:

controllgallery datetime drawtext gradient hellowworld histogram menus1 menus2 squares

neroist commented 1 year ago

Thank you for the extra screenshots! Since this seems to be an issue with libui-ng itself and not the wrapper, I'll be closing this.

Perhaps you should file an issue about your trouble compiling on mojave too on libui-ng's repo too.