Closed terminologie-x closed 5 years ago
the default icon-size has changed in the new version, and it seems that the icon-size is fixed to 16x16px. So you cannot define the size of the icons with the option icon-size for the buttons. The question is, why is it a fixed size ignoring the original icon size from the icon file, and the second question is, do we need a feature request to get this bug fixed ?
steps to reproduce:
yad --width=150 --height=100 --icon-size=32 --form --columns=4 --center --scroll --borders=30 --no-buttons --field "epiphany!$HOME/epiphany.png!(Open Source):fbtn"
any idea Victor ?
I am not so familiar with the c code and gtk, just guessing maybe it has something todo with the following in the file icon.c :
YAD_BIG_ICON, FALSE and YAD_SMALL_ICON, TRUE triggers the default behavior for the icons and gdk_pixbuf_scale_simple sizes the images to the default value of 16px.
--icon-size option to icon dialog
Hi I am running into the same issue. Custom icon png file (100x87 px) and when rendered on an fbtn they are super small (looks like 16x16). I have tried adding --icon-size=100 and it doesn't do anything. The buttons I'm trying to make this work with are in a field dialog that is part of a notebook. Is it no longer possible to resize icons on certain tabs in a notebook and not others? This seemed to work in version .41 but it doesn't seem to work in 1.0
I ended up reverting to .41 and everything works again. Not sure what has changed since .41 when it comes to icons inside of form buttons, but hopefully this will be fixed at some point when Victor has time.
fixed in 9a6b654
Victor ! Nice 1 good job :-)
the new option --keep-icon-size did the trick. I have tested it with the version yad 3.0-1. I scripted a little tool in bash for friends and family (windows/mac user ) to get better experiences with the archlinux desktop and to help them maintaining the system automatically + voice guidance, which includes yad as the basic element.
many thanks for the good work! :+1:
yad --version 0.42.0 (GTK+ 3.24.5)
after the last update I noticed a little difference with the icons, maybe someone could give me a hint how to fix that. I am using icons with 32x32px.
with yad version 0.41.0 it looks like this:
with the actual yad version 0.42.0 it looks like this:
the example code:
I have tried different parameter --icon-size=32, --icons --icon-width=32, but nothing changes. Do I really need to buy magnifying glasses ? :-D