ZBrushCentral

Change size of brush icons?

Been searching the forum and can’t find an answer. Next best thing: start a new thread.

I’m creating a new menu to house a specific set of brushes. How can I change the size of the icons for those brushes within that menu?

On a related note, I’d like to use smaller icons for the left tray items like Brush, Alpha, Texture, Color… How can I reduce the width of those items. I’ve seen UIs that use what seem to be half-width icons instead of the huge gigantic ones.

Preferences>Interface>Wide Buttons will reduce the width of many interface elements.

Right above it there’s also a slider to adjust the overall size of the interface elements.

Thank you. But I should have been clearer. My fault. I’m aware of those settings. What I was wondering was how to shrink them even further, as is the case in one of the alternate layouts that ship with ZB.

For example in the images below, the first one is the result of unchecking Wide Buttons and moving the above slider to the lowest setting of 38. The second image is from an alternate layout that reduces them even further.

I can create my own menus easily enough, but configuring icons to be that small still eludes me.

Apologies for not being clear the first time. Doh!

Attachments

Small.jpg

That sample that you show is done with Wide Buttons turned off. Then if you open the Texture, Stroke and Material palettes you’ll see small thumbnails next to the large thumbnail.

For example, in the Texture palette you’ll see a large square with four 1/4 sized squares next to it. The upper left of those is the No Texture thumbnail. Move that onto the shelf, where it then acts just like the large thumbnail. Same goes with the default stroke, alpha and material icons.

Going a bit more in-depth here:

Interface elements are based on a “ZBrush unit” master size. Tool>Preview>Object Preview is one of the few elements that’s 1 unit in size. The large thumbnails are .5 units in size. The small thumbnails are .25 units in size. Other elements are even smaller. Depending on the element, their height and width can be different – but they’re still defined in size relative to that master unit.

Preferences>Interface>Button Size defines the size of the master unit. This is the only control that’s available to you for defining button size. The Wide Buttons option simply toggles certain elements between a rectangular size (.5 x .25) or a square size (.25 x .25).

Things are done this way in order to allow all the different interface elements to neatly stack inside of the palettes. This also allows the Preferences>Custom UI menu to have several different UI fillers – blank spaces that are guaranteed to fit into your interface layouts. No matter what you do to build a layout, you’re sure to find a filler that will fit your need. In short, standardization is your friend. :slight_smile:

That having been said, there is a way to get around this. You would need to create a plugin with custom buttons for anything that you want to be out of the ordinary. ZScript code allows you to define the size of your buttons. This is again relative to that master size, but you can create oddball sizes if you want. For example, you could create a button that’s .66 width and another that’s .34 width. Those two would fit side by side in the palette because their combined sizes equal 1. The button would then be programmed with a command that calls the real version of the button. After that plugin has been loaded into ZBrush, you could place your versions of the buttons into your custom UI. Clicking on one would then activate the action just as if you’d clicked the button that is native to ZBrush.

Thank you aurick! That’s what I was wanting to know!

thanks alot mate…EXACTLY the same question I had right now…cheers