Skip to main content

Manually Resize Local Variables Window


Phil_Larsen

The auto-resizing of the window for Local Variables is very disorienting. I’d prefer to make it the size I want it, and then scroll as needed.

This topic has been closed for comments

19 replies

Joey_Pearlman

100%!!! Having a manual resize from a bottom-right anchor like some plugins have would be so helpful!!!

It feels super weird that it transforms the window size based on how many modes or variables you have! I really don’t like how narrow it is when there’s just one mode, and I don’t like that adding modes permanently changes the min-width!


Phil_Larsen
  • Author
  • Active Member
  • 130 replies
  • June 23, 2023

Not to mention that the groups list will get obscured if the number of variables in the currently selected group is shorter, requiring you to scroll to see the list.


Kevin_Bennett

Whilst setting variables its been a pain having the variables window changing size whilst switching between collections and groups. Allow the window to either be fixed to an edge of the application of at be a fixed size… please 🙂 😁 Thanks


Randy_Bascue

Agreed, this gets annoying fast when switching between collections or even selecting a subset within a collection. Very disorienting.


Jeff
  • 6 replies
  • June 30, 2023

agreed, not a well thought out feature


Emma_Hjellestad

Yes please! This is annoying me all the time, just after setting up a few variables 😦


Yes exactly this. It is extremely poor UX and really gets in the way of re-organising variables.


savlo
  • 1 reply
  • July 13, 2023

omg I totally agree with this!


Neil7
  • New Participant
  • 12 replies
  • August 1, 2023

I voted for this. I would like to resize the window horizontally as I have some long token names for ‘alias’ variables which I cannot view easily.


Arvid
  • Active Member
  • 44 replies
  • August 22, 2023

Totally agree! Really annoying. Sadly out of votes but +1


  • 2 replies
  • August 25, 2023

Figma, can you please fix this? At least remove the auto resize, it’s such an incredibly frustrating experience. I really want to use variables, I have to, and I know it’s in beta but this UX is really quite irritating.


Blagovirnyy_Roman

Like a 1000% this. Please fix this incredibly frustrating UI that makes it very difficult to find variable groups and rearrange them. Also, please make the columns for variable names and values resizable.

And just in general: please give me a flexible UI that I can rearrange and customize myself and don’t try to do it for me (I’m looking at you, skinny Design panel with short and narrow menus on my 4K monitor; why is so much text truncated? why do I have to scroll for days in this tiny box?). I think Adobe figured this one out like two decades ago.


Jens_Brandt

Because of my, sometimes not short, name convention, it’s hard to read.

This is a little bit of a usability issue as well.


Blagovirnyy_Roman

@Phil_Larsen I was able to modify the Figma CSS in a way that prevents the window from resizing vertically when selecting different variable groups. I made it fill almost the entire height of my Figma canvas, which made it a lot easier to work with large groups of variables. I’m using the desktop app, but the steps will be the same for the browser once you open the dev console. Follow these steps to replicate:

  1. Open the Figma Variables window.

  2. Open the Chrome dev console

  3. In the dev console, switch to the Elements tab
    image

  4. Toggle the Element Picker tool
    image

  5. Click on the footer in the Variables window.


    This will select the HTML element in the DOM tree in the dev console.

  6. Traverse the hierarchy of HTML elements up two levels and select the grandparent element. It should have the class name similar to mine and starts with variables_modal--container--...:

  7. Find the CSS styling of this element in the Styles tab:
    image

  8. Change the min-height value from 300px to calc(100vh - 120px); or whatever else you like. You should notice the changes immediately.
    image

You can close the Chrome dev console now.

One caveat is that you will have to redo these steps for every open file and after every time you relaunch Figma until they address this terrible usability issue.


Phil_Larsen
  • Author
  • Active Member
  • 130 replies
  • September 27, 2023

Nice! Your last paragraph was my first question though. My current behavior is such that it would be a pain to utilize these steps, yet nonetheless it is a smart work around.
🤞t2: they fix it soon!


Blagovirnyy_Roman

If time permits, I’ll look into making a user script or something similar that can reduce the number of steps to get this hack working, even if it doesn’t persist after closing the app.

I’ve been complaining about the tiny sizes of panels and menus for a long time and to everyone who listens. Figma enables great capabilities, but for some reason the usability basics are being overlooked. Every time I pick a component instance, color, or text style I have to search or scroll within tiny boxes where every text string is truncated on my 4K monitor. So much wasted space! And I use those menus and the property panel WAAAAY more often than prototyping, collaboration, dev handoff, or branching features. Like, literally every few minutes. So, Figma annoys me every few minutes. But I know improved menu usability isn’t going to attract new customers or something. It’s only something you find out after you start using the product. Still, would be a huge quality of life improvement for anyone using or building component libraries and design systems.


Mikael_Cederbom

I had this same issue. But now when I tried to today, it works to resize the local variables window (see gif). 🥳

2023-11-15 11.34.32


Phil_Larsen
  • Author
  • Active Member
  • 130 replies
  • November 15, 2023

Same! Thanks for bringing attention to this 😃


  • 0 replies
  • February 13, 2024

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


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