Re: [GNC] GTK CSS 4.0-4.1

2020-09-03 Thread Adrien Monteleone
The short answer on Issue #1 (UI highlights) is you'd now have to delve into the GTK theme itself. (more reading and work!) This is where the gtk.css file - for all of GTK comes into play, not just the gtk-3.0.css file that is specific to GnuCash. The theme sets a highlight for all apps using

Re: [GNC] GTK CSS 4.0-4.1

2020-09-01 Thread GTI .H
Hi Adrien, Thanks for the reply! Sorry for the delay, I am very involved with my trading operations in the financial markets ($$$). : ) I hope we can sync our efforts. TESTS FOR WINDOWS OS: Em sex., 14 de ago. de 2020 às 19:53, Adrien Monteleone < adrien.montele...@lusfiber.net> escreveu: > F

Re: [GNC] GTK CSS 4.0-4.1

2020-08-19 Thread Jimmy R via gnucash-user
Here is what I've come up with 4..01 gtk.css /* Application wide font setting */ * { font: 16px arial; } /* Register sheet font setting */ gnc-id-sheet { font: 16px arial; } .gnc-class-user-register-primary { background-color: #753535; color: lime; } .gnc-class-user-register-secondar

Re: [GNC] GTK CSS 4.0-4.1

2020-08-18 Thread Geert Janssens
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 c

Re: [GNC] GTK CSS 4.0-4.1

2020-08-14 Thread 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 su

Re: [GNC] GTK CSS 4.0-4.1

2020-08-14 Thread Adrien Monteleone
Finally got a chance to fire up the Inspector. See inline... Regards, Adrien On 8/3/20 9:59 AM, GTI .H wrote: Em sex., 31 de jul. de 2020 às 22:36, Jimmy R via gnucash-user < gnucash-user@gnucash.org> escreveu: Sorry I had a residual gtk.css from gnc 3.91 in linux Above post is not true. I

Re: [GNC] GTK CSS 4.0-4.1

2020-08-05 Thread GTI .H
Em seg., 3 de ago. de 2020 às 11:52, Jimmy R via gnucash-user < gnucash-user@gnucash.org> escreveu: > 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 > On Windows my settings for dark theme work. also

Re: [GNC] GTK CSS 4.0-4.1

2020-08-03 Thread Jimmy R via gnucash-user
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 .

Re: [GNC] GTK CSS 4.0-4.1

2020-08-03 Thread GTI .H
Em sex., 31 de jul. de 2020 às 22:36, Jimmy R via gnucash-user < gnucash-user@gnucash.org> escreveu: > Sorry I had a residual gtk.css from gnc 3.91 in linux > Above post is not true. > > I have a question though is thaer a setting in linux like in windows for > gtk-application-prefer-dark-theme=t

Re: [GNC] GTK CSS 4.0-4.1

2020-07-31 Thread Jimmy R via gnucash-user
Sorry I had a residual gtk.css from gnc 3.91 in linux Above post is not true. I have a question though is thaer a setting in linux like in windows for gtk-application-prefer-dark-theme=true to use the dark theme I found nothing in the WIKI -- Sent from: http://gnucash.1415818.n4.nabble.com/Gn

Re: [GNC] GTK CSS 4.0-4.1

2020-07-31 Thread Jimmy R via gnucash-user
I noticed one thing the tag names in gtk.css installed on using Linux mint flathub gnucash is different than https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css Flathub version does not work with the Git windows version Used Beyond compare on the 2 css files -- Sent from: http://gnuc

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread GTI .H
Em qua., 29 de jul. de 2020 às 18:26, Chris Graves escreveu: > I tested using the example file that you referenced in a prior email: > > https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css > My friend, it looks like this file has been updated since the last time I tested it and nobody

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread Richard Ullger
> Hi Chris, > > Have you been able to set the scheduled transaction editor calendar primary, > secondary and marker colours with > >#gnc-id-dense-calendar .primary > >#gnc-id-dense-calendar .secondary > >#gnc-id-dense-calendar .markers > > I can't get these to work. The primary/sec

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread Chris Graves
I tested using the example file that you referenced in a prior email: https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css > On Jul 29, 2020, at 2:02 PM, GTI .H wrote: > > > > Em ter., 28 de jul. de 2020 às 11:45, Chri

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread GTI .H
The file name must be gtk-3.0.css and on Windows must be in %APPDATA%\gnucash\ Done this way, the file customizations should work, if it doesn't work the issue is inside the file. I already published my broken (Partially works) gtk-3.0.css file here and it has not served to bring any solution so

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread Richard Ullger
On Tuesday, 28 July 2020 16:45:01 BST Chris Graves wrote: > I just tested the file on Windows 10 with GC 4.1 and it works fine. It's > located as follows: > %APPDATA%\gnucash\gtk-3.0.css > Hi Chris, Have you been able to set the scheduled transaction editor calendar primary, secondary and mark

Re: [GNC] GTK CSS 4.0-4.1

2020-07-29 Thread GTI .H
Em ter., 28 de jul. de 2020 às 11:45, Chris Graves escreveu: > I just tested the file on Windows 10 with GC 4.1 and it works fine. It's > located as follows: > %APPDATA%\gnucash\gtk-3.0.css > heheheheh. . . What are you talking about? The only gtk-3.0.css file that exists in this location is my

Re: [GNC] GTK CSS 4.0-4.1

2020-07-28 Thread Adrien Monteleone
As far as I can tell, the values of the targeted elements are defined in the Glade files which are part of the source code. I don't think there is a single CSS file with all of the rules in it like a custom file is organized. That is why I asked for a copy of your file, because it will show wh

Re: [GNC] GTK CSS 4.0-4.1

2020-07-28 Thread Jimmy R via gnucash-user
I don't want to wast anyone's time since I only need to make a dozen changes for 3 Win 10 computers based on screen size As for this file I understand they use an assortment of colors to show where tags are in GNC, but is it complete https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css)

Re: [GNC] GTK CSS 4.0-4.1

2020-07-28 Thread Chris Graves
I just tested the file on Windows 10 with GC 4.1 and it works fine. It's located as follows: %APPDATA%\gnucash\gtk-3.0.css Chris On Tue, Jul 28, 2020 at 8:00 AM GTI .H wrote: > The information here https://wiki.gnucash.org/wiki/GTK3 should be > sufficient for users, but it doesn't work. > > I

Re: [GNC] GTK CSS 4.0-4.1

2020-07-28 Thread GTI .H
The information here https://wiki.gnucash.org/wiki/GTK3 should be sufficient for users, but it doesn't work. I tested this template file ( https://github.com/Gnucash/gnucash/blob/maint/doc/gtk-3.0.css) and nothing worked for me. The issue is not having an example CSS file, the issue is having a

Re: [GNC] GTK CSS 4.0-4.1

2020-07-28 Thread Adrien Monteleone
Better yet, post *your* file that did work. Then we can see what you are trying to target. The sample CSS file is the same on all Operating Systems as far as I'm aware. What may vary is the version of GTK, which may affect the selectors available to use, or how they work. Regards, Adrien

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Jimmy R via gnucash-user
I am not proficient in css but the is a lot that has changed in the naming of many of the tags. Attached is an example of some of the slight change in names. Nowonder they did not work. The one you posted I had working for 3.91 but the tag names jhas been updated If someone from the Dev team post

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Chris Graves
Here ya go. /* This is an example GTK CSS file that can be used with Gnucash. Simply copy this file to the location specified below according to your platform and then restart gnucash. - Windows: CSIDL_APPDATA/GnuCash (or the default is users\%USERNAME%\AppData\Roaming\GnuCash) - O

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Jimmy R via gnucash-user
Chris can you upload a copy here I want to compare with my GNC 3.91 custom CSS that I had and worked, maybe they changed the css tags I I have installed Flatpack GNC, cannot find a css for it I spent weeks before customizing my own before Having issues with the concept using the gtkinspector in

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Chris Graves
There is an example .css file which ships with Gnucash. On macOS, it’s located here: /Applications/Gnucash.app/Contents/Resources/share/doc/gnucash/gtk-3.0.css > On Jul 27, 2020, at 7:56 AM, GTI .H wrote: > > I would like it too. but for that we have to run the GtkInspector ( > https://wiki.gn

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Adrien Monteleone
Without more info on what isn't working, there's not much to help with. (a copy of your custom file would help) But you can still do this on your own. (probably best if there are lots of things to tweak) 1. Install Virtualbox 2. Create a new VirtualMachine and install a linux distribution in

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread GTI .H
I would like it too. but for that we have to run the GtkInspector ( https://wiki.gnome.org/action/show/Projects/GTK/Inspector?action=show&redirect=Projects%2FGTK%2B%2FInspector) and it doesn't run on Windows and nobody with an OS that runs GtkInspector so far hasn’t offered to help. -- Regards Em

Re: [GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Jimmy R via gnucash-user
CSS for Windows 10 -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinf

[GNC] GTK CSS 4.0-4.1

2020-07-27 Thread Jimmy R via gnucash-user
Has anyone figured out yet if we can use our custom css. Would like to get my font sizes and colors back if possible -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To