Re: How to in GTK3 set global default text size?



First of all, GTK+ 3.6.4 was released in January 2013, which means
it's 4.5 years old and it's completely unsupported.

The latest (long-term support) stable release is 3.22.15; please use
that, especially if you're developing for Windows.

Follow the instructions on the GTK+ website to know how to install on
your development machine:

  https://www.gtk.org/download/windows.php

then you can package up all the shared libraries and other assets when
distributing your application.

On 16 May 2017 at 14:04, Igor Chetverovod <chetverovod gmail com> wrote:

I am making porting my own win32 application from GTK2 to GTK3.6.4. I have
an issue, for GTK3 all text labels on the user interface have  a bigger
font size then for GTK2. Is there global setting which can control default
font size for UI elements?

You can set a font size using a settings.ini file:

  https://developer.gnome.org/gtk3/stable/GtkSettings.html

or you can control the font size for your application programmatically
using the GtkSettings singleton.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]