> Jmol developers, > > Consider > > Jmol -g500x500 > > The Jmol application -g option sets the overall window width and height > but not the actual Jmol width and height. In this case the actual > working "frame" height will be considerably smaller than the width. It > seems to me there is a problem here. I'd like, for example, to set the > exact inner frame width and height so that if I use the "write JPG" > command I get a JPG with a selected width and height. > > 1) Is this intended?
intended, but not desirable. > 2) Wouldn't it be better to have an option to set the inner width and > height? Yes. That is what everyone wants. > 3) Can I depend that from platform to platform the overall width is 12 > more than the inner frame width and the overall height is 116 more than > the inner frame height (which is true on my PC), or is that not > dependable? You cannot depend upon that. Will differ across OS's. Could differ between JVM releases. Might even differ within an OS (using large fonts in Windows). > If I can, then I can just set up an additional option -G > instead of -g that sets the window size from the frame size instead of > the other way around. I would vote for having you use -g and change the meaning. > 4) Any objections to setting the Jmol application default window size > such that a square inner frame 500x500 is used (and we don't have to > fiddle with "set zoomLarge off")? no opinion. > 5) Suggestions? You may need to play around to get the window size that you want. 1. Make a guess at the outer window size ... +12 & +116 2. Check the inner pane size 3. Adjust again using your empirically determined 'decoration' size. Miguel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
