Hi!
I've recently been working on a simple rofi clone and used raygui for the interface. As the project grew bigger, I had the idea to improve the UI by adding app icons alongside their names in the ListView.
Since this isn't really supported by the current raygui API, I came up with my own (a bit odd) solution, but it works quite well and feels fairly aligned with the raygui project (at least I hope so!).
I was wondering if this kind of very specific implementation would be welcome as a PR. Now that I have it working, I think it might be useful for others.
Here is a small preview of how the UI looks:
The padding between the texture and the text is customizable using a new GuiListViewProperty called LIST_ITEMS_PADDING.
Let me know if you think this fits within the scope of raygui and if you find it interesting.
Thank you for your job on raylib, I really appreciate using it :)
Hi!
I've recently been working on a simple rofi clone and used raygui for the interface. As the project grew bigger, I had the idea to improve the UI by adding app icons alongside their names in the ListView.
Since this isn't really supported by the current raygui API, I came up with my own (a bit odd) solution, but it works quite well and feels fairly aligned with the raygui project (at least I hope so!).
I was wondering if this kind of very specific implementation would be welcome as a PR. Now that I have it working, I think it might be useful for others.
Here is a small preview of how the UI looks:
The padding between the texture and the text is customizable using a new GuiListViewProperty called LIST_ITEMS_PADDING.
Let me know if you think this fits within the scope of raygui and if you find it interesting.
Thank you for your job on raylib, I really appreciate using it :)