Skip to content
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

Use Granite.STYLE_CLASS_SMALL_LABEL #73

Closed
danirabbit opened this issue Nov 25, 2020 · 0 comments · Fixed by #78
Closed

Use Granite.STYLE_CLASS_SMALL_LABEL #73

danirabbit opened this issue Nov 25, 2020 · 0 comments · Fixed by #78

Comments

@danirabbit
Copy link
Member

small_label = new Gtk.Label ("<small>%s</small>".printf (Markup.escape_text (secondary_label)));

We can simplify this a lot using Gtk.CSS instead of Pango. We can remove the uses markup prop and the setter can be simpler

@danirabbit danirabbit added this to To do in CSS Small Labels via automation Nov 25, 2020
CSS Small Labels automation moved this from To do to Done Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant