Skip to content

ListView: Header support#59

Merged
dpjudas merged 3 commits intodpjudas:masterfrom
LupertEverett:listview_headers
Feb 6, 2026
Merged

ListView: Header support#59
dpjudas merged 3 commits intodpjudas:masterfrom
LupertEverett:listview_headers

Conversation

@LupertEverett
Copy link
Contributor

This PR allows ListViews to show headers.

// Example code
listView->ShowHeaders(true); // Headers are disabled by default.
listView->SetHeaderText(0, "Header"); // Sets the first column's header to "Header".

Despite adding the style colors, I haven't managed to get the headers to display in a different color.

and fix SimpleTheme constructor having inconsistent parameter names
ShowHeaders(value) shows headers if value is true
SetHeaderText(idx, text) sets the [idx]th header column's text to [text]
@dpjudas dpjudas merged commit 9b54dfb into dpjudas:master Feb 6, 2026
3 checks passed
@LupertEverett LupertEverett deleted the listview_headers branch February 6, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants