Skip to main content
Open

Minimum size constraints for resizable components

Related products:Software FactoryUniversal UI
  • September 19, 2024
  • 1 reply
  • 55 views

Dennis van Leeuwen
Hero
Forum|alt.badge.img+12

💡In Universal, we are using a screen type consisting of multiple components that can be resized by the user. However, I want to prevent a component from becoming too small or even disappearing entirely when a user adjusts its size. A common pattern is to set a minimum size constraint so that an element cannot be resized smaller than a specific width or height. This ensures that the user can always see the component and interact with it, even when they reach the limit of the resizable action.

There are certainly scenarios where you might want to allow this, but in my opinion, the default setting can simply be 0px.

3 components
2 components - OPPORTUNITIES disappeared

 

1 reply

Jeroen van den Belt
Administrator
Forum|alt.badge.img+10
New→Open