GTK4 not working #1

Open
opened 2021-09-11 16:17:07 +02:00 by eudaimon · 0 comments
Owner

I need to create gtk-4.0 folder, copy css and then modify it acording to gtk documentation. For example:

Don't use -gtk-gradient in your CSS

GTK now supports standard CSS syntax for both linear and radial gradients, just use those.

Don't use -gtk-icon-effect in your CSS

GTK now supports a more versatile -gtk-icon-filter instead.

Replace
Old Replacement
-gtk-icon-effect: dim -gtk-icon-filter: opacity(0.5)
-gtk-icon-effect: highlight -gtk-icon-filter: brightness(1.2)

Don't use -gtk-icon-theme in your CSS

GTK 4 always uses the current icon theme, with no way to change this.

Don't use -gtk-outline-...-radius in your CSS

These non-standard properties have been removed from GTK CSS. Just use regular border radius.

I need to create gtk-4.0 folder, copy css and then modify it acording to [gtk documentation](https://docs.gtk.org/gtk4/migrating-3to4.html). For example: # Don't use -gtk-gradient in your CSS GTK now supports standard CSS syntax for both linear and radial gradients, just use those. # Don't use -gtk-icon-effect in your CSS GTK now supports a more versatile -gtk-icon-filter instead. Replace Old Replacement -gtk-icon-effect: dim -gtk-icon-filter: opacity(0.5) -gtk-icon-effect: highlight -gtk-icon-filter: brightness(1.2) # Don't use -gtk-icon-theme in your CSS GTK 4 always uses the current icon theme, with no way to change this. # Don't use -gtk-outline-...-radius in your CSS These non-standard properties have been removed from GTK CSS. Just use regular border radius.
eudaimon added the
bug
label 2021-09-11 16:17:07 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: eudaimon/pho-earth#1
No description provided.