- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 512
Limit interface scale #1502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit interface scale #1502
Conversation
| Do you plan to get rid of the local  | 
| 
 @kittaakos  I've already got rid of  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I checked the code and left a few remarks.
        
          
                arduino-ide-extension/src/browser/contributions/interface-scale.ts
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 
 Thank you @kittaakos, I wasn't registering the menus properly after changing  I also the menu items weren't updating when changing the  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified it fixes #1384
Thanks Alberto!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working great. Thank you!
2ec546f    to
    b118a1f      
    Compare
  
    


Motivation
The interface scaling of the IDE doesn't handle scaling properly:
CTRL/CMD + =for a while), the interface seems to 'bounce' from bigger to smaller and viceversa until it's stableChange description
Automaticflag in the settings dialog is checked, enable/disable the 'Increase/Decrease Font Size' menu item and shortcuts when reaching-60%(min) and280%(max)Automaticflag in the settings dialog is unchecked, enable/disable the 'Increase/Decrease Font Size' menu item and shortcuts when reaching8(min) and72(max)Other information
Since Theia doesn't support dynamic menu items, to achieve this I needed to dispose the menu items and re-register them, and then update the
mainMenuManagermanually, otherwise they wouldn't get updated as expected.Reviewer checklist