How can i implement auto scale feature in nifty-gui? -


As I can see in the Vimeo video, there is a nice feature to scale the whole interface but I have anywhere Can not find the document I can do it (nor in the 1.3.2 manual).

You use this "Nifty Instance" Base Resolution ". This" Base Resolution "is used by your GII Size and when it is enabled, the actual guinea will be automatically scaled to the actual screen resolution:

  Nifty. Enabled Autoscrolling (1024, 768);   

Another way to use it is to set the "base resolution" and to provide scale factors for width and height directly:

  Nifty. Enabledautoscrolling (1024, 768, 2.0, 2.0);   

See the category for reference and is also available there.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -