Skepsis IT Posted June 9, 2015 Share 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 Link to comment Share on other sites More sharing options...
Skepsis IT Posted June 12, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Phxtecno Posted June 18, 2015 Share 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 Link to comment Share on other sites More sharing options...
Skepsis IT Posted June 18, 2015 Author Share 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). Link to comment Share on other sites More sharing options...
Sherzod Posted June 19, 2015 Share 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. Link to comment Share on other sites More sharing options...
Phxtecno Posted June 20, 2015 Share 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. 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