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

Need ability to set height of simulator area #25

Closed
eanders-ms opened this issue Apr 30, 2016 · 6 comments
Closed

Need ability to set height of simulator area #25

eanders-ms opened this issue Apr 30, 2016 · 6 comments

Comments

@eanders-ms
Copy link
Contributor

For my pxt target (bot framework), the intention is to host a chat control in the simulator area for interfacing with the bot. The simulator area is a fixed size, but currently too small vertically to host a usable chat control. One solution would be to provide the ability to change the height of the simulator.

@eanders-ms eanders-ms changed the title Need ability to specify height of simulator area Need ability to set height of simulator area Apr 30, 2016
@pelikhan
Copy link
Member

How about a custom .css file that would allow you to override the style?

Sent from Outlook Mobilehttps://aka.ms/djubve


From: Eric Anderson notifications@github.com
Sent: Saturday, April 30, 2016 4:12:12 AM
To: Microsoft/pxt
Subject: [Microsoft/pxt] Need ability to specify height of simulator area (#25)

For my pxt target (bot framework), the intention is to host a chat control in the simulator area for interfacing with the bot. The simulator area is a fixed size, but currently too small vertically to host a usable chat control. One solution would be to provide the ability to change the height of the simulator.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/25

@eanders-ms
Copy link
Contributor Author

That should work. I think the width is ok as-is.

@RobJellinghaus
Copy link

For my purposes I would love to be able to make it wider as well, and also would love to be able to scale down the blocks and the width of the block toolbar.

@pelikhan
Copy link
Member

pelikhan commented May 3, 2016

With custom CSS, you'll be able to override everything on the page. You will have to deal with the various screen sizes though.

@RobJellinghaus
Copy link

That's fine, pxt-phaser is really optimized for a desktop Scratch-like experience, at least in my initial optimization target.

@pelikhan
Copy link
Member

pelikhan commented May 6, 2016

You can specify the aspectRatio in the runtime field in pxtarget.json. See the pxt-samples.

@pelikhan pelikhan closed this as completed Aug 3, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Sep 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants