pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: difficulty adjusting vertical and horizontal panel sizes in gtk3 programs





El 26/3/25 a las 23:35, Greg A. Woods escribió:
At Wed, 26 Mar 2025 10:54:32 +0100, Ramiro Aceves <ea1abz%gmail.com@localhost> wrote:
Subject: Re: difficulty adjusting vertical and horizontal panel sizes in gtk3 programs

But those borders are not my problem. My
problem are the borders that are inside
the GTK programs like tunderbird, that
divide the program in for example 3
panels. There are very thin lines.

Ah, so sorry -- my misunderstanding!

I don't use GTK apps very much, though I do have emacs built with GTK3+
(I just don't use the GTK parts of it very much).

I do find some UI elements in GTK dialog boxes (the only real use of GTK
widgets in emacs) to be too small (e.g. check boxes, scroll bars, some
icons).  My display has 218dpi, so that's something I'm accustomed to
with X11 stuff.

Ah, I think I know what you mean -- the lines used to resize things like
the columns or different sub-panels in a GTK window, e.g. a file
selector box.

Apparently there are a couple of ways to "scale" GTK's widgets, so let's
see, I'll try them with emacs' "Open file" dialog box.

Emacs with GDK_SCALE=2 in the environment didn't work.  It made almost
everything too big, except for those lines in column headers, etc.

There's also GDK_DPI_SCALE, which takes decimal fraction values, and
apparently it controls the scaling of text elements.

So I tried both together (GDK_SCALE=2 GDK_DPI_SCALE=0.5) as some sites
recommend and it scaled GTK widgets without also making fonts too big,
though it had a very undesirable effect on the total size of the dialog
box and some aspects of layout and spacing.  However as with GDK_SCALE
alone it those little lines were still too tiny and, I agree, difficult
to grab with the mouse/trackpad.


Thanks so much Greg for trying to fix it. I have tested it and I get he same behaviour, very big fonts.

It is not very important so I can leave with it.
Many thanks.




--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>



Home | Main Index | Thread Index | Old Index