Skip to content

Conversation

@danirabbit
Copy link
Member

Uses of FLAT

  • With Gtk.Button, Gtk.MenuButton should be has_frame = false
  • With Gtk.HeaderBar. Should be ToolbarView probably. But in the new stylesheet, headerbars are flat by default
  • With Gtk.Frame. This is nonsensical lol. Don't use a Frame? Use a Bin or something

Todo:

  • With Granite.STYLE_CLASS_BADGE. This should probably be a widget I guess? This is used in Mail Sidebar for example
  • With ProgressBar, Levelbar. These are used in Sidebars and ListBoxes. We should probably just make those always flat in those cases so developers don't have to request it manually every time
  • With Gtk.ActionBar. I don't think we ever use a raised style for this widget, so the flat style should probably be the default style. Also, this would be another case where ToolbarView should be used for styles like flat, border, raised etc

@danirabbit danirabbit added this to OS 9 Apr 17, 2025
@danirabbit danirabbit moved this to In progress in OS 9 Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants