Skip to main content
Open

Minimum size constraints for resizable components

Related products:Software FactoryUniversal GUI
  • September 19, 2024
  • 1 reply
  • 27 views
Blommetje
  • Blommetje
    Blommetje

Dennis van Leeuwen
Hero

💡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

 

Did this topic help you find an answer to your question?

1 reply

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

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings