3
$\begingroup$

I am creating an addon, but I needed a small help. This is the code

    row2.label("Text",icon = 'BLENDER')

Now, if I execute it, the Icon is placed before the Text.

Is there anyway to place the Icon after the text?

$\endgroup$
5
$\begingroup$

You could add two labels, one with the text only, and another with the icon only:

    row = layout.row()
    row.alignment = 'LEFT'
    row.label("Text")
    row.label(icon='BLENDER')
$\endgroup$
  • $\begingroup$ will not work for menus operator button tho $\endgroup$ – DB3D Oct 13 at 16:35

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.