I have a table in which the last cell of each row is a button. Is there a way to adjust the size of this button once it is in the table? I have designed the button in a separate view and brought it in through a view path to the column, but the button is changing with the height of the row and makes the border stretch to the edges of the cell. Instead I would like it to be a set dimension that is smaller than the cell size.
Have you tried adding margin to the button's style?
I ended up putting the border around the text style with a margin rather than around the whole button component, and that seemed to fix the problem.
1 Like
If your button view's root container type is 'flex' then it should be just a matter of setting the view's defaultSize.width
and defaultSize.height
as required.