KingOrmon Posted February 20, 2012 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
dynamo Posted February 21, 2012 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
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators 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
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators 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
KingOrmon Posted February 21, 2012 Author 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
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators 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
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators 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
KingOrmon Posted February 21, 2012 Author Posted February 21, 2012 I use a ImageList for toolbar and Picture Glyph property for bitbtn. Quote
Administrators Farshad Mohajeri Posted February 21, 2012 Administrators Posted February 21, 2012 Delphi converts PNGs to Bitmaps and all transparency info is lost. I will add a Transparency option for TUniToolButton Quote
KingOrmon Posted February 28, 2012 Author Posted February 28, 2012 Hello Farshad, And exists any workaround for load png image from URL to TUniToolButton ? Regards Quote
JaroB Posted February 28, 2012 Posted February 28, 2012 Can be better convert PNG into GIF or it is the same problem? But I am using BMP only... Quote
KingOrmon Posted February 29, 2012 Author 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
Administrators Farshad Mohajeri Posted February 29, 2012 Administrators 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
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.