KingOrmon Posted February 20, 2012 Share Posted February 20, 2012 Hello, First, congratulations ! You have developing a great job. I don´t know how can I use transparent PNG in UniToolbar and UniButtons. See image attached. PD: Commercial version when will launched ? Regards Quote Link to comment Share on other sites More sharing options...
dynamo Posted February 21, 2012 Share Posted February 21, 2012 I have the same problem.In Desktop ok, but In Web TUniBitBtn does not render bmp file correctly.I think this problem is seemed regarding EXT JS. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Share Posted February 21, 2012 Hello, First, congratulations ! You have developing a great job. I don´t know how can I use transparent PNG in UniToolbar and UniButtons. See image attached. PD: Commercial version when will launched ? Regards Thanks. Transparent PNGs should work as expected. What uniGUI version are you compiling with? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Share Posted February 21, 2012 I have the same problem.In Desktop ok, but In Web TUniBitBtn does not render bmp file correctly.I think this problem is seemed regarding EXT JS. Ext JS buttons have 3 pre-set scales. You need to use bigger buttons so image will fit in button. Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted February 21, 2012 Author Share Posted February 21, 2012 Hello Farshad, I have uniGUI Beta v0.88.0.941 (10.8 MB 2012-02-07). Ext JS 4 will be supported soon ? Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Share Posted February 21, 2012 Hello Farshad, I have uniGUI Beta v0.88.0.941 (10.8 MB 2012-02-07). OK. Can you attach one of your transparent PNG files? Ext JS 4 will be supported soon ? Regards Yes, after version 0.90.0 Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted February 21, 2012 Author Share Posted February 21, 2012 I attach 3 png. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Share Posted February 21, 2012 Well, Buttons and ToolBars doesn't support PNG files directly. How do you load a PNG file in a TUniBitBtn? Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted February 21, 2012 Author Share Posted February 21, 2012 I use a ImageList for toolbar and Picture Glyph property for bitbtn. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Share Posted February 21, 2012 Delphi converts PNGs to Bitmaps and all transparency info is lost. I will add a Transparency option for TUniToolButton Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted February 28, 2012 Author Share Posted February 28, 2012 Hello Farshad, And exists any workaround for load png image from URL to TUniToolButton ? Regards Quote Link to comment Share on other sites More sharing options...
JaroB Posted February 28, 2012 Share Posted February 28, 2012 Can be better convert PNG into GIF or it is the same problem? But I am using BMP only... Quote Link to comment Share on other sites More sharing options...
KingOrmon Posted February 29, 2012 Author Share Posted February 29, 2012 Hi Jarob, Bmp works well but it does not support 32-bit images... BTW, Exists any workaround for use png images from URL like other uniComponents ? Regards Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted February 29, 2012 Administrators Share Posted February 29, 2012 BTW, Exists any workaround for use png images from URL like other uniComponents ? No. Currently only TUniImage allows using a URL for image path. 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.