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

Setting IGV window width & height via port or batch file interface #161

Closed
bw2 opened this issue Jul 20, 2015 · 6 comments
Closed

Setting IGV window width & height via port or batch file interface #161

bw2 opened this issue Jul 20, 2015 · 6 comments

Comments

@bw2
Copy link

bw2 commented Jul 20, 2015

Is there a way to control IGV window width & height through these interfaces?
Currently, I'm not finding a way to do this, and end up with screenshots that aren't wide enough (or tall enough, although I see that maxPanelHeight can be used to deal with height).

@jrobinso
Copy link
Contributor

There's no way to manipulate actual width and height of the window,
which of course would not be a good idea when running igv as a client.
Running "headless" is not something we support or have time to test,
although we are aware that people do it. The only way to
programmatically maniuplate window size would be to manipulate the
"prefs.properties" file in the igv directory of the user that it is run
under. Specifically set the IGV.Bounds property, which is left, top,
width, height

IGV.Bounds=267,22,1150,800

Is there a way to control IGV window width & height through these
interfaces?
Currently, I'm not finding a way to do this, and end up with
screenshots that aren't wide enough (or tall enough, although I see
that maxPanelHeight can be used to deal with height).


Reply to this email directly or view it on GitHub
#161.

@bw2
Copy link
Author

bw2 commented Jul 20, 2015

I see. That should be good enough. Thanks!

@jingcruk
Copy link

By this way a window size larger than the screen size is not allowed. Is there any way that I can preset a window size which is not constraint by the screen size, without debugging the source code? Many thanks.

@jrobinso
Copy link
Contributor

jrobinso commented Nov 26, 2017 via email

@yubau1112
Copy link

Why always is "IGV.Bounds=0,0,1150,800"
I chang that, but it change by itself
Can I set "IGV.Bounds=0,0,2048,1080" ?

@jrobinso
Copy link
Contributor

Dose you screen support that resolution? That is not meant to be a user-settable value, it simply records the size of the IGV window when it is shut down. Setting this is not a supported function.

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

No branches or pull requests

4 participants