Spout screen width [spout]

Discussion in 'Plugin Development' started by dralletje, Sep 30, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    dralletje

    Hello there,

    I got a simple question, what is the width of the screen if I am making a GUI in spout?
     
  2. Offline

    ben657

    Well it varies depending how big the player has it, but you can use spoutPlayer.getMainScreen().getWidth to find out ^^
     
  3. Offline

    Afforess

    The screen width is hardcoded at 423 server side. The client automagically scales widget for you, and there are settings to control alignment.
     
  4. Offline

    dralletje

    Ok, thank you :)
     
Thread Status:
Not open for further replies.

Share This Page