On 4/12/19 3:47 am, Geert Janssens wrote:
Op dinsdag 3 december 2019 13:08:30 CET schreef elvis:
On 3/12/19 8:58 pm, Geert Janssens wrote:
In 2.6.12 I have 12 accounts open with space for 3 or 4 more. They all
have close buttons on them, and every bit of text is readable.


In 3.7 I have 12 accounts open, but to fit them on the screen I have had
to change preferences --> windows to width 7. Which makes the account
names unreadable. And there is no more space to open other accounts.


is there a way to bring back the old behaviour? It looks like someone
has tried to pretty things up, but it has made it unusable.
The "someone" in that sentence is the upstream gtk project. We depend on
their code to create the graphical user interface for gnucash. When Gtk
switched from version 2 to 3, they redesigned all of the user interface
elements the gtk library provides. In many cases the new elements take up
more space as you noted.

As to what can be done about it: you can tweak the style sheet used by
gnucash to render the user interface elements on screen. Starting points
for this can be found here:
https://wiki.gnucash.org/wiki/GTK3#Visual_Styling
Thanks Geert,
I'm both super happy that I can do something about it, and also sad to find
out that all those threads that ended in "fix the CSS" apply to me. I was
hoping it wouldn't be the case but kind of expecting it. I will report back
with results.
I do sympathize.

Unfortunately the GnuCash development team is too small to maintain its own
custom css style to adjust for the design choices made by the Gtk developers.
We used to have a theme selector for 2.6, but that was no longer supported
either after Gtk switched to version 3.

If you happen to be on linux (you didn't mention your platform) you could try
to use the gnome tweak tool to install a different gtk3 theme. You can
download plenty from https://www.gnome-look.org/browse/cat/135/order/latest/

I don't know of a similar tool for the other platforms but it should be
possible to install a different Gtk theme on these platforms as well, albeit
manually. If you find a nice predefined gtk theme that uses layout choices
that better fit your requirements you could try that route rather than
tweaking css directly.

Hi Geert,

I have managed to make a start on what I would like..

tab * {
  font: 9px arial, sans-serief;
}

in    .config/gnucash/gtk-3.0.css      changes the font size in the tabs, but it is in every tab including the setting tabs. I can't work out how to make it just to apply to the notebook gtk section. Also the padding on the tabs could definitely be optimised as well to fit more text in. I can see the setting in gtk inspector, but don't know how to translate that to into css. It is not very intuitive! All the examples seem to be adjusting colours and other fairly simple stuff.

Lawrence









Geert


--
Ahh. The joy of Windows. Second only to the joy of getting kicked square in the 
biscuits.

_______________________________________________
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