Skip to main content
Bartosz_Dalach
Aug 1, 2024 5:03 AM UTC
Question

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

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.

2 replies

Haroll
Figma Ambassador
Figma Ambassador
Aug 1, 2024 6:33 AM UTC

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

Figma’s Forum Ambassador
Bartosz_Dalach
Aug 2, 2024 3:01 AM UTC

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.