Re: How to in GTK3 set global default text size?
- From: Igor Chetverovod <chetverovod gmail com>
- To: Emmanuele Bassi <ebassi gmail com>
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: How to in GTK3 set global default text size?
- Date: Tue, 16 May 2017 17:12:19 +0300
Done! I had copied changed settings.ini file to the folder /etc/gtk-3.0 in
aplication folder and font size was updated in whole UI of application.
2017-05-16 16:58 GMT+03:00 Igor Chetverovod <chetverovod gmail com>:
Hello, Emmanuele!
In the installation sequence for windows there is a trap - msys2 version
for WinXP(my application is using this OS) is not more provided. So, I
can install only GTK3.6 version which was provided Tarnyko ( thanks to
him!) (http://www.tarnyko.net/dl/gtk.htm).
Thank you, I will try GtkSettings.
Best regards,
Igor
2017-05-16 16:15 GMT+03:00 Emmanuele Bassi <ebassi gmail com>:
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]