Skip to main content
Question

Please help, is there a way to make the input bars resize when changing the display resolution?


Bartosz_Dalach

Hi! I can’t find a way to make the input bars in an app resize correctly when the display resolution changes. They always stick to their pixel-given size, and I can’t use percentages. I wish I could do anything about this. It’s for an Android app, I’d wish for it to be universal. Here’s a YouTube link to the issue https://youtu.be/Z2noAIuh1tQ.

This topic has been closed for replies.

Haroll
  • Active Member
  • August 1, 2024

Hi @Bartosz_Dalach

When using auto-layout on a frame you are able to decide how its children heights and widths will behave according to its own size.
Select your input and change its width from a Fixed value to Fill. This will ensure that your input takes all the available space → https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#resizing

Hope it’ll help


Bartosz_Dalach

Unfortunately, that’s not the case here. If I use fill, it’ll take up just the size of the frame, the frame can’t use percentages either. Let’s say I make a 200x300 frame, it’ll look bad on a bigger screen.


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