Skip to content
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

fix: Fixed Composer Electron startup window dimensions #2769

Merged
merged 6 commits into from
Apr 24, 2020

Conversation

tonyanziano
Copy link
Contributor

Description

Composer Electron will no longer startup maximized, but instead at a 4:3 aspect ratio window scaled to 90% of the screen's height.

(Also disabled dev tools opening on start by default -- can be toggled with an env variable COMPOSER_DEV_TOOLS)

Task Item

closes #2768

Screenshots

Windows

window-size-after

Linux

window-size-linux

Mac

Screen Shot 2020-04-23 at 4 35 49 PM

@tonyanziano tonyanziano changed the title Fixed Composer Electron startup window dimensions fix: Fixed Composer Electron startup window dimensions Apr 24, 2020
@github-actions
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 822491e on toanzian/dimensions into 2c4fe20 on master.

@cwhitten cwhitten merged commit eadd3fa into master Apr 24, 2020
@cwhitten cwhitten deleted the toanzian/dimensions branch April 24, 2020 17:24
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Adjusted initial Electron window size to 4:3 ratio

* Disabled dev-tools by default and modified window size logic.

* Changed console.log calls to use debug package.

Co-authored-by: Chris Whitten <christopher.whitten@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants