1
$\begingroup$

How would I add a button with a large icon in the Blender interface in my menu for an addon? I figured out how to make a button with a small icon on the left side, but if I want an image to be the majority of the button space, how would I do this?

Thanks!

$\endgroup$
  • $\begingroup$ I'm not sure I understand your question. Are you modeling a large button mesh? Are you referring to the Blender interface? $\endgroup$ – Pete Lozzi Apr 3 '18 at 17:19
  • $\begingroup$ Editing my question to clarify! $\endgroup$ – calben Apr 5 '18 at 15:17
  • $\begingroup$ Are you certain that feature exists in Blender python api? I've check the interface and some of my addons and cannot find any large buttons. Maybe there aren't any other button styles. $\endgroup$ – Leander Apr 5 '18 at 17:55
  • $\begingroup$ Maybe the feature doesn't exist :-/. In which case it sounds like I have a hell of a programming task ahead of me. I'd be really, really surprised though if in all of Blender's years nobody has wanted to create a button with a larger icon. $\endgroup$ – calben Apr 5 '18 at 18:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.