Re: How to style a GtkLabel with CSS
- From: Gulshan Singh <gsingh2011 gmail com>
- To: Stefan Salewski <mail ssalewski de>
- Cc: gtk-list gnome org
- Subject: Re: How to style a GtkLabel with CSS
- Date: Fri, 12 Jun 2015 23:13:27 +0000
On Fri, 2015-06-12 at 16:50 +0000, Gulshan Singh wrote:
> I need some help with this question:
> https://stackoverflow.com/questions/30791670/how-to-style-a-gtklabel-with-css
>
> A commentor mentioned that I should attach the provider directly to the
> GtkLabel instead of the window, and that worked, but I'd like to have one
> CSS stylesheet that I attach to the window and have the styles apply to all
> the children.
>
> Note that even if I use CSS classes (.label) or names (#my-label) it does
> not work when attached to the window.
Sorry, have no solution. Tried a few minutes, but it really seems not to
work as you desire. Found this, but that seems only to confirm that it
works not in that way as you want:
http://stackoverflow.com/questions/28382196/how-can-i-change-the-font-size-of-a-gtk-label-in-vala
Maybe there is more help in IRC, recently one of the developer wrote:
>you should probably join IRC — irc.gnome.org,
>#gtk+ channel.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]