[GNC] Change text color

GT-I9070 H gti9070h at gmail.com
Sun Aug 5 00:23:30 EDT 2018


Em sáb, 4 de ago de 2018 às 14:42, Peter Jackson <jackson at fastmail.net>
escreveu:

> Dear GTI,
> Hello again, I'm wondering if you can also tell me how to adjust the
> height and width of the label box itself.
> Thanks
> Peter
>

*You forgot to copy the list, other people can help too.*

I hope I understand what you want.

In the tab we have, icon, text, button. We do not have much to move about.
Some size can be varied by changing Preferences>Windows> "Show close button
in tabs"

Well, as far as I know, in code there is no "label box" object. The
behavior of the tab suggests that it is set up by code to auto fit to the
size of the text box and the text box is set to auto fit to text size and
would be unreadable if the text box was smaller than the text.

So, something that might work would be to adjust the margins of the text to
vary the size of the text box and maybe even accept negative numbers (eg.
-2px) to decrease the text box.

As I have not tested it yet, you can try these properties with this
selectors "notebook tab" and "notebook tab label":

margin: 2px 5px 2px 5px;

or

margin-bottom: 2px;
margin-left: 4px;
margin-right: 4px;
margin-top: 2px;

or

border: 1px solid lightgreen;

or

border-bottom-width: 2px
border-left-width: 4px;
border-right-width: 4px
border-top-width: 2px

or

padding: 0px 2px 0px 2px;

or similar.

Please, report yours results here for all.


Regards
GTI


More information about the gnucash-user mailing list