Setting the size of a window

From GeoMod

Jump to: navigation, search

The following code needs to be inserted before the window is created.

scene.width=704+4+4
scene.height=576+24+4
scene.x = 0
scene.y = 0

This code will create a window where the inside of the window is 704x576 pixels in dimension. The "+4+4" and "+24+4" are to account for the size of the window's menu bar and borders.

where:

  • screen.width - the width of the window
  • screen.heigth - the height of the window
  • screen.x - the horizontal distance of the window from the top left corner of the screen.
  • screen.y - the vertical distance of the window from the top left corner of the screen.

If you create a new window then use the name of the new window instead of "screen".

Preferred image/movie sizes

If you are making an image or movie the preferred sizes (but not required) (width x height) are;

  • Large - 704 x 576 px
  • Medium - 352 x 288 px
  • Thumbnail - 75 x ? px
Personal tools