abomb Posted May 11, 2006 Posted May 11, 2006 Hello all, Making an attempt to open a window and having a problem moving it to where I would like to appear. I have a script that works, but the window keeps opening in the top left corner. No matter how I adjust the distance from top or from left, it still opens in the corner. Am I forgetting something? Thanks.
abomb Posted May 11, 2006 Author Posted May 11, 2006 Sorry about that, New Window[Height;5;Width;5;Top;5;Left;5] Go to Layout["Plate Entry"(Inventory)] Adjust Window[Resize to Fit]
xochi Posted May 11, 2006 Posted May 11, 2006 I believe "resize to fit" will make the window full screen and move it to the upper left. If you want it to be located elsewhere, you'll want to move the window AFTER the "resize to fit" command. Or, better yet, don't use "resize to fit" at all -- figure out the exact coordinates (size & location) that you want and use them. Also, beware that window sizing behavior differs on Mac & Windows, and that individual users may have different screen layouts (e.g. Dock on Left, Dock at Bottom, etc.)
LaRetta Posted May 11, 2006 Posted May 11, 2006 Windows sizing and placement wants the size and distance in px. 5 px wouldn't be noticeable so would APPEAR in the top left corner. Try entering Top and Left figures of 100 and see if it moves. Resize to Fit doesn't make it full screen. It makes it whatever size needed so all objects will display.
abomb Posted May 11, 2006 Author Posted May 11, 2006 That worked. didn't realize I needed the pixels so high. I thought it was asking for inches.
Recommended Posts
This topic is 6773 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now