Make go back and forward buttons flat

Bug #1340392 reported by Camilo Higuita
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Files
Fix Released
Low
Fernando Alvarenga

Bug Description

Right now the elementary theme doesn't theme correctly the buttons in 3.12+ and so you might not notice that some buttons are meant to be flat so they look nice. Scratch is a good example of how to style the headerbar buttons, while noise and pantheon-files don't use the flat buttons as they used to in Luna. I'll attach a screenshot:

Tags: bitesize

Related branches

Revision history for this message
Camilo Higuita (kxmylo) wrote :
Revision history for this message
Camilo Higuita (kxmylo) wrote :
Changed in pantheon-files:
assignee: nobody → elementary UX Team (elementary-design)
status: New → Confirmed
Changed in pantheon-files:
importance: Undecided → Low
Revision history for this message
Danielle Foré (danrabbit) wrote :

It looks like we have the "image-button" class, but not "flat". Doesn't effect our stylesheet, but would be good for others.

Changed in pantheon-files:
assignee: elementary UX (elementary-design) → nobody
tags: added: bitesize
Revision history for this message
Danielle Foré (danrabbit) wrote :

For this one, we want to assign https://valadoc.org/gtk+-3.0/Gtk.STYLE_CLASS_FLAT.html

We do this by getting the style context of the widget and adding a style class like so:

widget.get_style_context ().add_class (foo);

where foo is your class name and in this case we want to use the constant Gtk.STYLE_CLASS_FLAT

Changed in pantheon-files:
assignee: nobody → Fernando Alvarenga (ferbarcelona10)
Changed in pantheon-files:
status: Confirmed → In Progress
RabbitBot (rabbitbot-a)
Changed in pantheon-files:
status: In Progress → Fix Committed
Changed in pantheon-files:
milestone: none → juno-beta1
Cody Garver (codygarver)
Changed in pantheon-files:
milestone: juno-beta1 → 0.3.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.