[GNC] Custom Style Sheet Disappearing
Keith Fetterman
keithfetterman at gmail.com
Tue Apr 7 12:47:50 EDT 2026
Hi Adrien,
Thanks for testing. After I submitted a bug, John Ralls responded and solved the mystery for me. He said that the style sheets were only saved when a change to the accounting file was saved. I tested this by creating a new custom style sheet, making a change to a register then saving the file. This worked consistently.
The new style sheet was not retained if I only opened the GnuCash file, created the style sheet then closed GnuCash.
Keith
> On Apr 7, 2026, at 09:00, gnucash-user-request at gnucash.org wrote:
>
> Send gnucash-user mailing list submissions to
> gnucash-user at gnucash.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> or, via email, send a message with subject or body 'help' to
> gnucash-user-request at gnucash.org
>
> You can reach the person managing the list at
> gnucash-user-owner at gnucash.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gnucash-user digest..."
>
>
> Today's Topics:
>
> 1. Re: CSS for the app itself (Adrien Monteleone)
> 2. Re: resizing columns (Adrien Monteleone)
> 3. Re: Tab/space bar problem (Adrien Monteleone)
> 4. Re: Custom Style Sheet Disappearing (Adrien Monteleone)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 6 Apr 2026 23:55:53 -0500
> From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
> To: gnucash-user at lists.gnucash.org
> Subject: Re: [GNC] CSS for the app itself
> Message-ID: <10r22ot$10h9$1 at ciao.gmane.io>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> The Wiki covers this, I'm pretty sure it is in the FAQ. There are a fair
> amount of UI hooks covered there and the supplied sample file can
> illuminate a bit more detail and usage.
>
> I'd highly recommend on reading up on the topic of running GnuCash with
> the GTK Inspector. If I recall, this is not possible with the Windows
> native .exe, but does work with Mac & Linux. (I've used it for both
> platforms.) Doing so will allow you to test declarations in real time.
> GTK+ CSS doesn't necessarily work quite like Web CSS, though there are
> similarities. Also, not all UI elements can be addressed via CSS, so
> there are limitations. (this is primarily due to some of them not being
> properly 'exposed' to CSS via named classes, IDs, et cetera, so if you
> find an element like this you could optionally file an RFE, or a PR to
> expose it for styling.)
>
> -----
> For anyone on Windows, you might get lucky doing CSS playground stuff in
> a Linux VM or via WSL (Windows Subsystem for Linux) and then trying the
> same declarations on Windows, but mileage may of course vary. (though if
> you can run a VM or WSL, I'd just stick with that for a daily driver)
>
> Regards,
> Adrien
>
> p.s. ?my UI is Blue & Grey, not Green & Yellow, courtesy of my CSS
> customizations on MacOS.
>
> On 4/6/26 6:48 PM, Ed Greenberg wrote:
>> I'm running gnucash on Ubunut from a flatpak.
>>
>> I'd like to find the CSS that controls the colors of the ledger pages.
>> The green bars.
>>
>> Alternatively, the color of the toolbar or something else that stands out.
>>
>> I have several gnucash files, and I want to know with certainty which
>> one I'm looking at.
>>
>> Any ideas?
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 7 Apr 2026 00:11:20 -0500
> From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
> To: gnucash-user at lists.gnucash.org
> Subject: Re: [GNC] resizing columns
> Message-ID: <10r23ls$70a$1 at ciao.gmane.io>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> The 'handle' you need to drag to resize the transfer column is not
> normally visible.
>
> First, turn on View > Double Line mode, and you'll see a new handle in
> the second header line just for the transfer column. The one you
> normally see is really for the Reconcile status column.
>
> You might want to also (at least temporarily, but I use it by default)
> View > Transaction Journal mode. This way, you see *all* of the
> transaction at all times. (nothing hidden)
>
> As noted, the Description column is special. Adjust every other column
> first to your liking, then drag the right-handle of the description
> column WAY *left*, well beyond what you want, as if shrinking it to
> nothing, and then let it go. It will snap back towards the right, to
> auto-fill the visible window width to make up the difference of the
> window and all the other columns you intentionally sized. You can of
> course make the Description column larger by dragging to the right, but
> without resizing the other columns to accommodate this wider column,
> will produce a horizontal scrollbar. The special treatment of the
> Description column was specifically designed to easily eliminate the
> need for horizontal scrolling and making the necessary adjustments simple.
>
> Regards,
> Adrien
>
> p.s. -"AI" does not give advice or answers. It is an entertainment
> novelty designed to fool users into thinking it is a human or at a human
> level of intelligence. It does this by assembling words into a sentence
> by probability of their appearance and proximity in its 'training data'.
> It is *not* designed to be correct?AT ALL. If you happen to get a
> correct answer, that is a happy accident of probability also limited by
> its training data. (it can't generate artifical text it doesn't have
> access to) It has no cognition, understanding, or comprehension. It does
> not learn. (though you can alter its training data) It cannot lie or
> hulicinate because it does not know truth or sanity. There is never a
> reason or utility to 'ask it a question' unless you just want to test
> its ability to sound *as if it were, intelligent*. (despite that it isn't)
>
> On 4/6/26 12:02 AM, arthur brogard wrote:
>> I just can't get the hang of resizing the ledger columns.? I want the transfer column bigger and i can't do it.? ?I simply cannot move the? boundary between it and description nor do it any other way.
>> I tried to follow advice from ai and from the manual.? I'm still not getting it.any help?
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 7 Apr 2026 00:15:49 -0500
> From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
> To: gnucash-user at lists.gnucash.org
> Subject: Re: [GNC] Tab/space bar problem
> Message-ID: <10r23u9$men$1 at ciao.gmane.io>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Dennis,
>
> Since you mentioned stop-light colors, I'll guess you are using a Mac,
> but if Linux, or other OS, please advise.
>
> It sounds like you've got some keyboard or accessibility settings
> conflicts at play.
>
> I don't see the same behavior using MacOS.
>
> Regards,
> Adrien
>
> On 4/2/26 9:44 AM, Dennis Fay via gnucash-user wrote:
>> After the latest update, the Gnucash space bar expands to full screen and the tab cycles through the red, yellow, green and title. How can I fix this?
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 7 Apr 2026 00:22:52 -0500
> From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
> To: gnucash-user at lists.gnucash.org
> Subject: Re: [GNC] Custom Style Sheet Disappearing
> Message-ID: <10r24bf$u4$1 at ciao.gmane.io>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> I just tested 5.14(Intel) on Monterey, but I didn't make any changes to
> the new stylesheet as a test.
>
> It was retained when restarting.
>
> I did it again, this time making and applying a change. And again, it
> was retained upon restarting.
>
> Sorry I can't duplicate, though admittedly, I'm not on an exactly
> similar setup.
>
> Regards,
> Adrien
>
> On 4/1/26 9:58 PM, Keith Fetterman wrote:
>> I have discovered an issue with creating a new style sheet in GnuCash. I create the style sheet. When I quit and reload GnuCash, the new style sheet does not exist. This is occurring with GnuCash 5.14 on MacOS. It occurs with both the ARM and Intel versions of the program. Has anyone else encountered this issue and know what I might be doing wrong?
>>
>> Here are the steps I perform:
>>
>> 1. Open Style Sheets dialog
>> 2. Select ?New?, type in a name for the style sheet, and choose the ?Fancy? template.
>> 3. Change some settings.
>> 4. Select ?Apply? then ?Close?.
>> 5. Close the dialog that shows the list of style sheets.
>> 6. Close/Quit the GnuCash program.
>> 7. Launch the GnuCash program.
>>
>> The new style sheet is not in the list.
>>
>> Any ideas on how to resolve this would be a great help.
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
>
> 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
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
>
> ------------------------------
>
> End of gnucash-user Digest, Vol 277, Issue 14
> *********************************************
More information about the gnucash-user
mailing list