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

Window doesn't fit screen #84

Closed
pmansour22 opened this issue May 11, 2015 · 6 comments
Closed

Window doesn't fit screen #84

pmansour22 opened this issue May 11, 2015 · 6 comments

Comments

@pmansour22
Copy link

I have the size of text and items in Control Panel\All Control Panel Items\Display set to medium (125%). At that setting the synctrayzor window doesn't fit the screen (I lose the minimise/maximise buttons and the menu toolbar).

Is it possible to get it to fit the screen when the windows display size is not set to the default 100% setting?

@FlorianWendelborn
Copy link

What Windows version are you running? What's your display resolution? Can't reproduce this on Windows 8.1 Pro 64-bit @ 1920x1080.

@canton7
Copy link
Owner

canton7 commented May 11, 2015

Err I guess I could put something in to decrease the default window size if it's too large for the screen.

Can't you just size it to whatever you want, though? After you've done that once, it will remember the size you set. You can move it using e.g. this technique.

@nille02
Copy link

nille02 commented May 11, 2015

@dodekeract many Laptops come with 1366x786. Instead to change the default, it would be better to check if the dimension is do big for the screen. (edit)In this case it would also be helpful to hide the console output.

@FlorianWendelborn
Copy link

@nille02 if that's really @pmansour22's issue and @canton7 or somebody else change this behavior then I would add that the default/calculated window position needs to watch for any taskbar (mine is top for my main display) "interference". Steam doesn't properly do it and often moves the window behind my taskbars.

@canton7
Copy link
Owner

canton7 commented May 11, 2015

I've taken the simple approach of constraining the window's initial dimensions (before we get into the business of remembering the window's size/position) to virtural height - 40 and virtual width - 40, 40px being the (large) size of the taskbar. Windows can then take care of positioning it (which in my testing, it does well).

Although - you'll probably find that closing / re-opening SyncTrayzor fixes the issue for you anyway, due to the way that we restore the window's position.

Feel free to re-open the issue if, after the next release, the issue isn't resolved.

@pmansour22
Copy link
Author

Sorry guys for not being more specific, and thanks for the comments. It's on a little Windows 8 box attached to a TV. Screen res' is 1920x1080 but the display adapter can only go up to 1360 x 768. Because I'm sitting 10 feet away I have the display enlarged to 125%. With that combination though there isn't much screen real estate.

I should have thought to use the technique canton7 suggested but in the end I didn't need to. Once I changed the display back to 100% I could resize the screen so when setting it to 125% it fitted okay.

Not a difficult workaround but if you get around to having it fit automatically I'm sure that would help quite a few users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants