You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm trying to style the calendar widget a bit more than just a global color change. For example I'd like the week numbers and the day names to be different colors to the rest of the days. I've dug a bit around in the GTK css documentation and found this: https://docs.gtk.org/gtk4/class.Calendar.html#css-nodes I've gotten the calendar and calendar:selected selectors to activate, even without applied classes which suggests to me that the other nodes described in the page should also be possible, but I cannot for the life of me figure out how to do it. Has anyone managed this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I'm trying to style the calendar widget a bit more than just a global color change. For example I'd like the week numbers and the day names to be different colors to the rest of the days. I've dug a bit around in the GTK css documentation and found this: https://docs.gtk.org/gtk4/class.Calendar.html#css-nodes I've gotten the
calendar
andcalendar:selected
selectors to activate, even without applied classes which suggests to me that the other nodes described in the page should also be possible, but I cannot for the life of me figure out how to do it. Has anyone managed this?Beta Was this translation helpful? Give feedback.
All reactions