Jump to content

UniTreeView only 16x16 icons


Skepsis IT

Recommended Posts

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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...