Skepsis IT Posted June 9, 2015 Posted June 9, 2015 Hi everybody,at newer version of UniGui 0.99.X.XXXX tunitreeview supports only 16x16 images. Is there a way to overcome this problem? Thanks in advance Quote
Skepsis IT Posted June 12, 2015 Author Posted June 12, 2015 Hi, to anyone that matters, finally, for solving that problem I used a not so sophisticated solution, I've modified css .x-tree-icon value. Thanks 1 Quote
Phxtecno Posted June 18, 2015 Posted June 18, 2015 hello !I found the same problem in my previous post http://forums.unigui.com/index.php?/topic/5272-images-16x16-are-clipped-in-unitreeview/ I am not expert about web and html; could you explain me what modify (css?) and where ? many thanks Quote
Skepsis IT Posted June 18, 2015 Author Posted June 18, 2015 Of course I'll explain.The folder that css files exists is C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.2.2.1144\resources there you should see a list of folders, now according the template that you use, select the correct folder, then you should edit the css file, search for .x-tree-icon and the it is straighforward what you change (width and height to the correct pixel size). Quote
Sherzod Posted June 19, 2015 Posted June 19, 2015 hello ! I found the same problem in my previous post http://forums.unigui.com/index.php?/topic/5272-images-16x16-are-clipped-in-unitreeview/ I am not expert about web and html; could you explain me what modify (css?) and where ? many thanks Hi, Also you can without changing the files css, try adding this code: procedure TMainForm.UniFormCreate(Sender: TObject); begin // for example, for 32x32 UniSession.AddJS('Ext.util.CSS.createStyleSheet(".x-tree-icon { height: 36px; width: 32px; }")') end; It certainly is not a complete solution, still need to analyze the .x-tree-elbow-img Try, Best regards. Quote
Phxtecno Posted June 20, 2015 Posted June 20, 2015 Hi, it works too :-)anyway the treevieew show unconnected lines betweens each item... Seems the drawings of these lines still working for size 16x16. 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.