-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing style classes in Granite 7 to port from Gtk3 to Gtk4 #617
Comments
Oops yeah action bars previously using I don’t think the stylesheet has a style for |
Regarding I will test if it makes any visual differences if the class is there - if so, I will hardcode the string value and otherwise simply remove the class alltogether. Would you agree to this course of action? Or do I miss something here? |
PS: Found another style class which is used in Mail but does not appear in Granite: |
@marbetschar ah so for the attachment one, probably either pack that into an actionbar?or set the css name of the flowbox to “actionbar”, whichever one preserves the styles better there. I’m pretty sure the “toolbar” style class is removed completely in the gtk4 stylesheet I think the entry one is a workaround for not being able to pack children into an entry, but I think that’s changed in Gtk. That’s also used for cssname as well right? So you could manually set the cssname to “entry” for the same effect or see if we can pack those children to the end of the entry and drop all the style magic we’re doing there |
Possibly related, should there be a |
You could use Granite.Placeholder instead. |
I suspect it will be removed in the near future. |
I started working on the Gtk4 port of Mail and noticed that the following Gtk3 style classes are not available in Granite. Not sure if this is a bug or intentional - in any case, please advise how to migrate them to Gtk4 / Granite 7:
Gtk.STYLE_CLASS_BACKGROUND
Gtk.STYLE_CLASS_SIDEBAR
Gtk.STYLE_CLASS_TOOLBAR
Gtk.STYLE_CLASS_INLINE_TOOLBAR
The text was updated successfully, but these errors were encountered: