[GNC] GTK CSS 4.0-4.1

Geert Janssens geert.gnucash at kobaltwit.be
Tue Aug 18 09:58:02 EDT 2020


The register is a custom-designed widget, not a gtk one. It's based on a GtkLayout (which is a 
Gtk widget), but all drawing from there is done by GnuCash. I don't think the custom GnuCash 
code was ever written with css styling in mind, so you're probably right there's not much you 
can do to change its visual presentation via css.

Regards,

Geert

Op zaterdag 15 augustus 2020 01:56:20 CEST schreef Adrien Monteleone:
> You won't be able to. Not everything in the register page is exposed for
> styling and GTK doesn't respond for some reason to some styling rules.
> CSS is not 'feature complete' for GTK. And some things may never be
> implemented because Gnome wants applications to have a certain
> consistency. (not sure if this falls into that category, but keep it in
> mind)
> 
> Regards,
> Adrien
> 
> On 8/3/20 10:35 AM, Jimmy R via gnucash-user wrote:
> > using flathub Linux Mint 20
> > I have tried /.var/app/ org.gnucashh.GnuCash/config/gtk-3.0/ settings.ini
> > Not working if Im doing it correctly
> > 
> > also
> > 
> > I am trying to make a little more space between lines, I tried margins,
> > borders, and padding
> > Nothing seem to work for
> > 
> > .gnc-class-user-register-primary
> > .gnc-class-user-register-secondary
> > .gnc-class-user-register-split
> > 
> > I tried it in /* Application wide font setting */ but it blows up all
> > pages
> > 
> > Jimmy
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.




More information about the gnucash-user mailing list