But closed Source and not available for 32Bit.

   Am 26.02.21 um 02:38 schrieb Peter S. Shenkin:

This sounds like a good reason to use Qt. 😁

(A cross-platform GUI building tool.)

-P.

On Thu, Feb 25, 2021 at 11:45 AM Adrien Monteleone <
[1]adrien.montele...@lusfiber.net> wrote:


I poked around with the inspector quite a bit when GnuCash moved to
GTK3, and as far as I can tell, the content of the Account Page (save
the header bar) is not exposed to styling, sorry. (that is, the entire
account table 'tree' is one CSS node and the individual items, rows, and
columns are not accessible to CSS)

You could employ a very ugly workaround though:

Set every other account to have the background color you want, then turn
on: Preferences > Accounts > Account Color > Show the Account Color as
background.

The downside is you'd need to do this for every other account manually,
and then when you collapse parts of the tree, your striping will break.
(and then you can't use other custom colors) You could maybe just set
the parent accounts to have a background color, so that when everything
is expanded, there is some visual separation.

*note, I've found the page easier to read and see the hierarchy when I
turned *off*: Preferences > General > General > Enable vertical grid
lines on table displays.

Regards,
Adrien

On 2/23/21 9:18 PM, Evelyn Yamanaka wrote:

Hi all,

I'm using GNUCash 4.4 on Windows 10, and I'm trying to customize the
appearance of the Account page using the CSS file:

%APPDATA%\GnuCash\gtk-3.0.css

I can't figure out how to modify alternating rows (background color)
or individual columns (e.g. the "Account Name" column) on the Account
page because I don't know the CSS selector for those items.

I've used the GTK Inspector to identify other elements. But I can't
figure out the CSS path for these two items. I've tried the following,
in case the tree in the Account page behaved like an HTML table, but
neither worked:

#gnc-id-account-tree tr:nth-child(even) {
     background-color: #888;
}
#gnc-id-account-tree td:nth-child(1) {
     background-color: #888;
}

More info, including a screenshot for reference, can be found here:


[2]https://superuser.com/questions/1627977/what-are-the-css-selectors-for-altern
ating-rows-and-specific-columns-in-gnucash

Would appreciate any help figuring out which CSS selectors to use, or
just letting me know if it's impossible to do. Thanks.

_______________________________________________
gnucash-user mailing list
[3]gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
[4]https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
[5]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.


_______________________________________________
gnucash-user mailing list
[6]gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
[7]https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see [8]https://wiki.gnucash.org/wiki/Ma
iling_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.

--
<pre>
-========================== Jan-Peter Rühmann & Kuma =========================-
Gubkower Str.7             [ Tel.:  +49 38205 65484 ]   [9]jan-pe...@ruehmann.na
me
18195 Cammin / Prangendorf [ FAX:   +49 38205 65212 ] [10]https://www.ruehmann.n
ame
WhatsApp: 491621316054     [ Tel.:  +49 38205 65215 ]
Twitter: @JPRuehmann       [ Mobil: +49 162 1316054 ]       IT-Servicetechniker
-=============================================================================-
           Die Verwendung der Daten zu Werbezwecken ist verboten.
</pre>

References

   1. mailto:adrien.montele...@lusfiber.net
   2. 
https://superuser.com/questions/1627977/what-are-the-css-selectors-for-alternating-rows-and-specific-columns-in-gnucash
   3. mailto:gnucash-user@gnucash.org
   4. https://lists.gnucash.org/mailman/listinfo/gnucash-user
   5. https://wiki.gnucash.org/wiki/Mailing_Lists
   6. mailto:gnucash-user@gnucash.org
   7. https://lists.gnucash.org/mailman/listinfo/gnucash-user
   8. https://wiki.gnucash.org/wiki/Mailing_Lists
   9. mailto:jan-pe...@ruehmann.name
  10. https://www.ruehmann.name/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
gnucash-user mailing list
gnucash-user@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.

Reply via email to