[GNC] Chaning left sidebar spacing

Adrien Monteleone adrien.monteleone at lusfiber.net
Sun Jan 5 13:58:28 EST 2020


Tim,

Try these:

.GncMainWindow tab button {

 margin-left: 0px;
  
}

.GncMainWindow tab label {

 margin-right: -18px;

}

The label seems to have padding, but not as a CSS value. It seems to appear based on some attempt to keep the lettering centered in the tab object. I don’t see a way to change that. (I don’t see a ’text-align’ property exposed in the CSS)

I do see that the close button (not the image itself) has a 4px left (and right) margin. So I’d zero that out, and then you can cheat the button closer to the label text by setting an appropriate negative right margin on the label. I’ve played with -10 to -20 and -18 seems about right without getting too close.

Regards,
Adrien

> On Jan 5, 2020 w2d5, at 12:11 PM, Tim Kallmer <tkallmer at gmail.com> wrote:
> 
> The tabs on the top seemed to take up too much real estate when I upgraded
> to 3.6. With your tab css help, I was able to shrink the margins and
> padding of the tabs, so that they fit more nicely. Thanks. But the close
> buttons inside the tabs still seem to be spaced far away from the end of
> the tab text. Is there a padding or margin around the close button that can
> be reduced? (I am not able to get GTK inspector to work for me on Ubuntu
> 19.04.)



More information about the gnucash-user mailing list