Mailing list archives : pcb-rnd

ID:5332
From:rn...@igor2.repo.hu
Date:Thu, 11 Nov 2021 05:34:08 +0100 (CET)
Subject:[pcb-rnd] new: gtk icon scale
Hi all,
 
lately there are more and more high resolution screens where a lot of 
pixels are packed into very little space. This makes our icons (e.g. 
toolbar icons or layer selector icons) look tiny.
 
Upon user request I've added a gtk-specific config node at 
plugins/hid_gtk/icon_scale as a real number. When it's 0 or 1, it doesn't 
do anything. For other positive values it scales all widget icons librnd 
draws manually by the value entered. On high res screens you may try 
values 2 or 1.5.
 
Tips & tricks:
 
This does not affect any icon created by gtk itself. I don't think we have 
any of those by now, but who knows...
 
If you change the value from within pcb-rnd, you need to restart pcb-rnd 
because the scaling is done on widget creation so already created widgets 
are not affected.
 
If you want to change it, I recommend putting it in your user level 
configuration. Command line -c won't work for this one because the GUI 
plugin is not initialized by the time -c is processed.
 
This feature is not implemented in the lesstif HID.
 
Best regards,
 
Igor2
 
 

Reply subtree:
5332 [pcb-rnd] new: gtk icon scale from rn...@igor2.repo.hu