Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles: add List styles #714

Merged
merged 6 commits into from
Mar 25, 2024
Merged

Conversation

danirabbit
Copy link
Member

@danirabbit danirabbit commented Mar 25, 2024

  • Add BOXED_LIST which is used in Gtk.Inspector
  • Show SwitchModelButton and show/hide separators feature (this appears to be broken with io.elementary.stylesheet but works with Granite's stylesheet)

todo:

  • lists shouldn't have a background color unless they're a boxed or framed list
  • .frame
  • Re-evaluate boxed-list vs rich-list vs card. gtk4-widget-factory has rich-list, inspector has .rich-list.boxed-list. adw uses boxed-list. Perhaps rich-list needs to stay to do widget padding/spacing/styles, and we make .card do the same as .boxed-list, but only support .card as a constant?
  • .activatable row styles. Maybe extend .model?

@danirabbit danirabbit mentioned this pull request Mar 25, 2024
30 tasks
@danirabbit danirabbit requested a review from a team March 25, 2024 18:16
@danirabbit danirabbit marked this pull request as draft March 25, 2024 19:43
@danirabbit danirabbit changed the base branch from main to danirabbit/demo-styles March 25, 2024 20:35
@danirabbit danirabbit marked this pull request as ready for review March 25, 2024 23:21
@danirabbit danirabbit merged commit 9c496af into danirabbit/demo-styles Mar 25, 2024
5 checks passed
@danirabbit danirabbit deleted the danirabbit/styles-list branch March 25, 2024 23:22
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.

None yet

1 participant