Skip to content

Question about new ListView related feature #534

@viastolfi

Description

@viastolfi

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:

Image Image

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions