Button • Custom: Icon, Radius, Border, Color, Gradient, HTML Text, Text Alignment

Yep, it is not recognised as a button. What you can do is drag out a normal button and style this with the extension. For the button click call the FilePicker

image

Make the FilePicker (button) not visible

thanks that works. Anyway to make a switch to look like the rest. See pic. With edge, corners and more. The second switch i tried to use an verticalarrangement but i cant do anything with corners.

Hi Joe

Is it possible to use your extension without an image ? Tried a few things (e.g. create empty list, empty text blocks) but generates errors.

It's not possible, but I'm preparing another version in which you can do that.

  • It will be like this:
    blocks (4)

I leave a preview:


I am creating separate functions from the SetButton function and will probably remove the SetButton function.

1 Like

Update: v1.0.4 Ago 11, 2025.

1 Like

how can it be this one fails?

(ButtonColors)

I believe you need to SetButtons first?

Sorry i found the problem, i should make color list in a list. And remember to put ImagePosition in a list, its not from start.

I had used the new extension to update and then update with the other after. I found the problem, need to put the list in a list.

But are there any way to deside the height of a button, if i use the designers height, the text is not in the middle..

This works OK for me:

image

Height and Width set to Automatic in Designer

Height set to 100 in Designer:

image

Yeah but try smaller, maybe 25-30 px

Yes, text starts to cut off below 56 pixels for me. Same happens if supplying the html texts.

An issue for @Joejsanz

Update: v1.0.5 Ago 12, 2025.

1 Like

can you please make an exampl pic of buttons with different size?

What size do you have in mind ?

something like this. I dont know if it should be list in a list, but just so you could see witch one.
there are 4 of one size and 4 of another size.

You set the height and width of the buttons in the designer, or with the button blocks...

Here I have two buttons:

image

Button 1 is w=100, h=30
Button 2 is w=100, h=56

Blocks

yeah i know, but some of them i need to reduce the left right padding

In that you have making, there are 2 buttons with the same padding, i need different padding.

Maybe @Joejsanz can help here.

Or perhaps just use a padding block for each button ?