jahlxx Posted August 8, 2017 Share Posted August 8, 2017 Hi. I have a toolbar, with some toolbuttons, and assigned a uninativeimagelist with some png images. the problem is that images don't stretch to the size of the buttons. am I missing something? thanks. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted August 8, 2017 Share Posted August 8, 2017 the size of image is defined in height/width property of TuniNativeImageList. The images are strech when you add your image in the list , not after. it don't depend of the size of button. in your case i think you have 2 issue. issue 1: use different imagelist and toolbar for each the size of you need Issue2 : don't use imageindex property of your tool button but in caption set the html code like this <IMG src="/img/myimg.png heigth=32 width=32><BR>mylabel Quote Link to comment Share on other sites More sharing options...
jahlxx Posted August 8, 2017 Author Share Posted August 8, 2017 Hi. can't fiond height / width for images and can't find autostretch for the images ??? Quote Link to comment Share on other sites More sharing options...
delagoutte Posted August 8, 2017 Share Posted August 8, 2017 it is simple html with tag IMG !! you set it in property caption of your toolbutton Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.