appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

The width of the button group doesn't increase in the first go when we add more buttons to it

Open coolBrown12 opened this issue 1 year ago • 2 comments

Fix #22962

To fix this, you could update the ButtonGroupComponentState interface to include a numButtons property that tracks the number of buttons in the group. Then, in the render method of the ButtonGroupComponent, you could calculate the total width of the buttons based on the sum of their widths, and set the width of the ButtonGroupWrapper using the style prop.

Please free to contact [email protected]

coolBrown12 avatar May 04 '23 18:05 coolBrown12

Welcome to the Appsmith community! Thank you for your first pull request and making this project better. 🤗 Please make sure that you raise a review request so your code change does not go unnoticed.

welcome[bot] avatar May 04 '23 18:05 welcome[bot]

This PR has not seen activitiy for a while. It will be closed in 7 days unless further activity is detected.

github-actions[bot] avatar May 12 '23 16:05 github-actions[bot]

This PR has been closed because of inactivity.

github-actions[bot] avatar May 22 '23 16:05 github-actions[bot]