IUP images on buttons
Posted: 30 Apr 2023 20:24
I'm experimenting with putting images from https://www.tecgraf.puc-rio.br/iup/en/iupimglib.html on to a flat button and having issues with the sizing. The documentation says the images are supposed to be 32x32, but they look to be being displayed as 16x16.
For example, in the documentation "IUP_MessageHelp" is shown as

But fbtnTest = iup.flatbutton{image = 'IUP_MessageInfo'} displays as Has anyone used these successfully? They look to be the images used by iup.messagedlg which display as expected.
PS. You need to include require('iupluaimglib') to use them.
For example, in the documentation "IUP_MessageHelp" is shown as

But fbtnTest = iup.flatbutton{image = 'IUP_MessageInfo'} displays as Has anyone used these successfully? They look to be the images used by iup.messagedlg which display as expected.
PS. You need to include require('iupluaimglib') to use them.