gtk-rs/gtk

Buttons aren't getting colored

Closed this issue · 3 comments

My buttons are loaded and my styling does get applied, as other CSS fields do get set, but buttons don't.

My CSS

label{
    font-size: 48px;
}

box {
    background-color: #888888;
}

button:active {
    background-color: #000;
}

button:hover {
    background-color: #000;
}

This is not a bug but a support request, and also generally about GTK not specific for the bindings :) Please ask this on the GTK mailing list.

That's fair :)

If anyone's wondering how I solved it.
Apparently I was loading it wrong, and I set the priority of the custom CSS lower than the priority of the fallback, so it got overriden.