Re: [GNC] CSS GTK Register padding/spacing
Thanks Ken, I just tried yours, still the same. I also tried adding transparent borders & margins. As we get older we need a little flexibility. All the other css "tags' not a problem Although I was using: "user".gnc-class-user-register-primary { background-color: #403f3f; color: white; padding-top: 11px; padding-bottom: 11px; } I do more graphics work so accessibility in Win 11 would not helpJust the register lines a little too close On Sunday, April 7, 2024 at 10:42:13 PM EDT, Ken Farley wrote: Don't know if you ever solved this, or if a solution is possible, but these are the lines from my GTK3 CSS file that deal with the register lines. *.gnc-class-register-primary { background-color: @hueRegLight ; color: @hueTextNormal ; } *.gnc-class-register-secondary { background-color: @hueRegDark ; color: @hueTextNormal ; } I don't know if the padding values are available to change. You'd have to try it. First, make sure you are setting the register settings that are available by making the color something ridiculous like pink, to be sure your syntax is correct. You can always change it back to white or whatever you were using. I have variables set in my CSS file that I can reference in many setting statements, so if I want to change a setting for "normal text" everywhere, I only have to change it once, at the beginning of the file. ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
Don't know if you ever solved this, or if a solution is possible, but these are the lines from my GTK3 CSS file that deal with the register lines. *.gnc-class-register-primary { background-color: @hueRegLight ; color: @hueTextNormal ; } *.gnc-class-register-secondary { background-color: @hueRegDark ; color: @hueTextNormal ; } I don't know if the padding values are available to change. You'd have to try it. First, make sure you are setting the register settings that are available by making the color something ridiculous like pink, to be sure your syntax is correct. You can always change it back to white or whatever you were using. I have variables set in my CSS file that I can reference in many setting statements, so if I want to change a setting for "normal text" everywhere, I only have to change it once, at the beginning of the file. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
The name of the class for #2 is just: .register-primary Though I don't know if you can add padding to it or not. (which is where the GTK Inspector comes in handy) Regards, Adrien On 4/1/24 2:31 PM, J R via gnucash-user wrote: I read all the wiki many times plus other sources 1. This works but effects the whole program/* Application wide font setting */* { font: 16px arial; padding-top: 5px; padding-bottom: 5px;} 2. This fails.gnc-class-user-register-primary { background-color: #403f3f; color: white; padding-top: 5px; padding-bottom: 5px; } ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
I read all the wiki many times plus other sources 1. This works but effects the whole program/* Application wide font setting */* { font: 16px arial; padding-top: 5px; padding-bottom: 5px;} 2. This fails.gnc-class-user-register-primary { background-color: #403f3f; color: white; padding-top: 5px; padding-bottom: 5px; } On Monday, April 1, 2024 at 03:14:06 PM EDT, Adrien Monteleone wrote: See this wiki page: https://wiki.gnucash.org/wiki/GTK3 I'm not sure how to run the inspector on Windows. Perhaps some other users here can help. There are plenty of threads on CSS in the list archives. Maybe one of them describes the Windows process. Without it, you're just shooting in the dark. Regards, Adrien On 4/1/24 1:20 PM, J R via gnucash-user wrote: > Just using notepad ++ ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
See this wiki page: https://wiki.gnucash.org/wiki/GTK3 I'm not sure how to run the inspector on Windows. Perhaps some other users here can help. There are plenty of threads on CSS in the list archives. Maybe one of them describes the Windows process. Without it, you're just shooting in the dark. Regards, Adrien On 4/1/24 1:20 PM, J R via gnucash-user wrote: Just using notepad ++ ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
Just using notepad ++ On Monday, April 1, 2024 at 01:28:38 PM EDT, Adrien Monteleone wrote: Are you using the GTK Inspector? It provides a sandbox to play with rules to see their effect and then you can put them in your CSS file. Keep in mind, not every element in the UI is exposed or even addressable for styling. Regards, Adrien On 4/1/24 6:34 AM, J R via gnucash-user wrote: > I cannot apply the correct css tag in the register to increase the spacing > between transaction lines...I'm getting oldIncreasing the font and other > adjustments not a problem.I can do it to the font "padding top/bottom" system > wide but it just spaces everything too much, I have researched everything ___ gnucash-user mailing list gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
Are you using the GTK Inspector? It provides a sandbox to play with rules to see their effect and then you can put them in your CSS file. Keep in mind, not every element in the UI is exposed or even addressable for styling. Regards, Adrien On 4/1/24 6:34 AM, J R via gnucash-user wrote: I cannot apply the correct css tag in the register to increase the spacing between transaction lines...I'm getting oldIncreasing the font and other adjustments not a problem.I can do it to the font "padding top/bottom" system wide but it just spaces everything too much, I have researched everything ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
Win 11 v5.6 desktop, display render ? On Monday, April 1, 2024 at 01:18:53 PM EDT, J R wrote: Win 11 On Monday, April 1, 2024 at 09:37:23 AM EDT, David Carlson wrote: You do not tell us which OS you are using, which desktop, which display renderer, and, uh, by the way, which release of GnuCash from which source. On Mon, Apr 1, 2024 at 6:35 AM J R via gnucash-user wrote: I cannot apply the correct css tag in the register to increase the spacing between transaction lines...I'm getting oldIncreasing the font and other adjustments not a problem.I can do it to the font "padding top/bottom" system wide but it just spaces everything too much, I have researched everything ___ gnucash-user mailing list gnucash-user@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. -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
Win 11 On Monday, April 1, 2024 at 09:37:23 AM EDT, David Carlson wrote: You do not tell us which OS you are using, which desktop, which display renderer, and, uh, by the way, which release of GnuCash from which source. On Mon, Apr 1, 2024 at 6:35 AM J R via gnucash-user wrote: I cannot apply the correct css tag in the register to increase the spacing between transaction lines...I'm getting oldIncreasing the font and other adjustments not a problem.I can do it to the font "padding top/bottom" system wide but it just spaces everything too much, I have researched everything ___ gnucash-user mailing list gnucash-user@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. -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] CSS GTK Register padding/spacing
You do not tell us which OS you are using, which desktop, which display renderer, and, uh, by the way, which release of GnuCash from which source. On Mon, Apr 1, 2024 at 6:35 AM J R via gnucash-user < gnucash-user@gnucash.org> wrote: > I cannot apply the correct css tag in the register to increase the spacing > between transaction lines...I'm getting oldIncreasing the font and other > adjustments not a problem.I can do it to the font "padding top/bottom" > system wide but it just spaces everything too much, I have researched > everything > ___ > gnucash-user mailing list > gnucash-user@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. > -- David Carlson ___ gnucash-user mailing list gnucash-user@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.
[GNC] CSS GTK Register padding/spacing
I cannot apply the correct css tag in the register to increase the spacing between transaction lines...I'm getting oldIncreasing the font and other adjustments not a problem.I can do it to the font "padding top/bottom" system wide but it just spaces everything too much, I have researched everything ___ gnucash-user mailing list gnucash-user@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.