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 <tkall...@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.)

_______________________________________________
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.

Reply via email to