window size

Visto 4.857 veces
Saltar al primer mensaje no leído

Pavel Kostelnik

no leída,
10 mar 2012, 13:23:4710/3/12
a kivy-...@googlegroups.com
Hi folks,

is there any comfortable way to manipulate window position/size except for this -> http://kivy.org/planet/2011/05/the-app-class-and-its-window/ ?

It really feels icky… 

thanks


Mathieu Virbel

no leída,
10 mar 2012, 14:59:4710/3/12
a kivy-...@googlegroups.com
Hi,

The latest master have now the ability to control the size of the window. But not the position.
By the way, the good way to set the initial size is:

import kivy
kivy.require('1.1.2')
from kivy.config import Config
Config.set('graphics', 'width', '800')
Config.set('graphics', 'height', '600')
...

Before anything else in your application. We are working on a better approach to do this in the long term.

Mathieu
Se ha eliminado el mensaje

krister viirsaar

no leída,
4 abr 2013, 4:49:554/4/13
a kivy-...@googlegroups.com
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos