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

[Feature] Built-in amplifier and reducer of window preview. #78

Open
SignalMQ opened this issue Dec 2, 2023 · 4 comments
Open

[Feature] Built-in amplifier and reducer of window preview. #78

SignalMQ opened this issue Dec 2, 2023 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@SignalMQ
Copy link
Contributor

SignalMQ commented Dec 2, 2023

Is your feature request related to a problem? Please describe.

Hello everyone
The other day I encountered a situation where I needed to slightly reduce the preview of window due to the fact that the preview was not in the visual studio tab.

Describe the solution you'd like

Window preview resizing in pressed Ctrl by scrolling mouse wheel

Describe alternatives you've considered

I noticed this preview function when working with extensions for Visual Studio and Rider.

Additional context

image

@SignalMQ SignalMQ added the enhancement New feature or request label Dec 2, 2023
@BinToss
Copy link
Contributor

BinToss commented Dec 15, 2023

In other words, this is a request to scale/zoom the Preview pane's contents with CTRL + +/Scrollwheel_Up to zoom in (increase scale) or CTRL + -/Scrollwheel_Down to zoom out (decrease scale)

@prashantvc
Copy link
Collaborator

Thanks for reporting the issue. We have it in the backlog and we will implement it soon

@prashantvc prashantvc added this to the Previewer #2 milestone Jan 4, 2024
@SignalMQ
Copy link
Contributor Author

2024-01-30.22-22-21.mp4

Hi @prashantvc.
I've been thinking about zooming in and out of the preview. And I encountered such a problem as the size of the window, is it possible to get the width and height of the window from the axaml and add it to the HTML code? Because the iframe element cannot be rendered depending on its content.

@prashantvc
Copy link
Collaborator

prashantvc commented Feb 1, 2024

@SignalMQ it was possible in the previous version of the extension. Due to changes in how previewer is rendered from the Avalonia library I had to use preview as is right now. But be sure the functionality you are looking for will return soon

You can find the related preview code here
https://github.com/AvaloniaUI/Avalonia/tree/master/src/Avalonia.DesignerSupport/Remote/HtmlTransport/webapp

@SignalMQ SignalMQ changed the title Built-in amplifier and reducer of window preview. [Feature] Built-in amplifier and reducer of window preview. Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants