Note too that there are some 'defined' register colors. The example CSS
files linked from the wiki should at least illustrate these. (though I
don't think there is much 'documentation' on them, their names should be
self-explanatory)
I'll dig into my own CSS file to see if I adjusted that tab-height
property. Or barring that, fire up the inspector myself. But you should
be able to see a property that affects it.
Caveat: respect the Cascade! thus, if a child of the tab, say a 'tab
label' has a 'font-size' specified in *any* independent measurement (not
in reference or dependent on the tab dimensions itself) that child
element will then 're-size' the tab if the tab is set to contain *all*
of its content. (I'm not describing that precisely correct for all
cases, but I think I'm conveying the right idea) This is a 'thing' in
Web CSS, but for some elements of GTK CSS, it is baked in. That is,
those elements always adjust to fit content of their children and you
don't have an easy means to change their behavior via CSS.
So you can set a tab height to 1px, but if your child tab-label is 12px,
(plus or not — margin/padding), then your resulting tab will be that
much larger regardless of the 'official' tab-height property.
I suspect that is the problem.
First, find a nice font-size for the entire UI. Stick with it. (there is
good reason for this)
Then adjust *padding* on the 'tab' or *margin and/or padding* on the
'label' of the tab as needed.
That's what I've done so far, and it works well enough for me, though
I'm not trying to shrink my tabs into near oblivion.
Regards,
Adrien
On 12/10/21 5:48 PM, AC wrote:
The syntax is roughly the same which is fine but what I'm finding harder
is identifying the appropriate selectors based on the output of the
inspector is harder.
I've gotten most of everything I wanted fixed except for the height of
the register tabs. The inspector so far isn't showing me anything
helpful to tweak that would let me reduce their height.
_______________________________________________
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.