1
$\begingroup$

how can i edit blender UI elements?
for example i want to change size of this button:

enter image description here

is it possible to do that? we can define or change UI's color easily by edit xml files. is there any way to change element's properties ???

$\endgroup$

1 Answer 1

2
$\begingroup$

The size of the icons is hardcoded in the c files to 16 pixels. You cannot resize it.

What you can do is to change is the DPI settings in the User Preferences in the System tab to have the whole UI in a dpi size that fits your needs. It's the first entry up left.

$\endgroup$
2
  • $\begingroup$ i don't want to change icon size !!!!!!! i want to change defined size for buttons .... where is the code ? do you know ? $\endgroup$ Sep 1, 2016 at 8:10
  • $\begingroup$ Also the size of the buttons is hardcoded, sorry. It all goes hand in hand. There is really not this much that you could customize here without to rewrite the Blender source code. Most of what you can do with Python regarding the UI is covered here: wiki.blender.org/index.php/Dev:Py/Scripts/Cookbook/… $\endgroup$
    – Tiles
    Sep 1, 2016 at 8:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .