Now, finally, we can have padded boxes! And look at that implementation!
That's how easy it is to add correct box model behavior to your widgets!
I'll be fixing a whole slew of these now...
Note that some reftests need fixing, not because this actually breaks
anything, but because Raleigh has a really silly style: * { padding: 2px; }
and reftests often use GtkBox to emulate other widgets like grids. We need
to add some CSS that resets all properties to make sure that this padding
isn't added to the boxes when trying to e.g. emulate grids.
Obviously, Raleigh is pretty broken here regardless, but layout tests like
this shouldn't be affected by style.
Adwaita is perfectly fine.
2 lines
33 B
CSS
2 lines
33 B
CSS
@import "reset-to-defaults.css";
|