Fixed Button Placement Inside Component

advanced-prototyping

#1

Hi there.

I have a button inside a component. Depending on the page where we place the component, the text of the button changes (override text), which causes the button placement to shift to the left and it is not aligned correctly. (see pics)

Is there a way to set the placement to a fix left positions inside the component?


#2

There are two things you can do:

  1. Set the button to have a dynamic width and then left-align the text. It will grow/shrink with it anchored on the left.

  2. Add a “Raised Event” to the component that triggers when it loads. Then use that event to move the button in line with the other text.

The first option is, by far, the easiest.


#3

Thank you! Option 1 really helps.