dbTreeView bean icon size setting

Questions and answers on developing, deploying and using plugins and JavaBeans

dbTreeView bean icon size setting

Postby huber » Fri May 23, 2014 11:13 am

Hi All

Is there a way to reduce an image in the dbTreeView bean to a certain size?
The height of the image is defined by: elements.dbTreeView.setRowHeight(18); In this example it's 18 px high. The width of the image is fully displayed, it seems regardless of the width of the bean.

I would like to control the image like setting it to 16x16px or 32x32px etc. (of course in conjunction with the correct row height setting), i. e. reducing the size to a certain value if the image itself is bigger than that.

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 12 guests