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 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. 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? 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. 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 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 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. 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? 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. 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 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 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... 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 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now