Skip to content

Add support for vertical multiple display setup.#238

Open
szelpe wants to merge 1 commit intoCode52:masterfrom
szelpe:master
Open

Add support for vertical multiple display setup.#238
szelpe wants to merge 1 commit intoCode52:masterfrom
szelpe:master

Conversation

@szelpe
Copy link

@szelpe szelpe commented Apr 5, 2020

Set the Top property of the KeyShowView based on the selected display property.

{
s.RelativeWidth = 200 * (s.Width / maxWidth);
s.RelativeHeight = s.RelativeWidth * (s.Height / s.Width);
s.Top *= (s.RelativeHeight / s.Height);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this line

@xperiandri
Copy link

Any progress on this?

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