{"action":"closed","issue":{"url":"https://api.github.com/repos/kivy/kivy/issues/2558","labels_url":"https://api.github.com/repos/kivy/kivy/issues/2558/labels{/name}","comments_url":"https://api.github.com/repos/kivy/kivy/issues/2558/comments","events_url":"https://api.github.com/repos/kivy/kivy/issues/2558/events","html_url":"https://github.com/kivy/kivy/issues/2558","id":44922782,"number":2558,"title":"The gui size does not change after a window resize.","user":{"login":"dessant","id":7513068,"avatar_url":"https://avatars.githubusercontent.com/u/7513068?v=3","gravatar_id":"","url":"https://api.github.com/users/dessant","html_url":"https://github.com/dessant","followers_url":"https://api.github.com/users/dessant/followers","following_url":"https://api.github.com/users/dessant/following{/other_user}","gists_url":"https://api.github.com/users/dessant/gists{/gist_id}","starred_url":"https://api.github.com/users/dessant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dessant/subscriptions","organizations_url":"https://api.github.com/users/dessant/orgs","repos_url":"https://api.github.com/users/dessant/repos","events_url":"https://api.github.com/users/dessant/events{/privacy}","received_events_url":"https://api.github.com/users/dessant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kivy/kivy/labels/core","name":"core","color":"444444"},{"url":"https://api.github.com/repos/kivy/kivy/labels/needs-analysis","name":"needs-analysis","color":"207de5"},{"url":"https://api.github.com/repos/kivy/kivy/labels/pygame","name":"pygame","color":"BFFC1A"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-05T17:40:15Z","updated_at":"2015-04-01T22:51:20Z","closed_at":"2015-04-01T22:51:20Z","body":"Reported by @gianmt, the gui does not seem to resize after a window size change. Seen on Fedora Rawhide, in a VM.\r\n\r\n![vxvhl jpg](https://cloud.githubusercontent.com/assets/7513068/4519304/44f1f928-4cb6-11e4-88ba-5315beee8e74.png)\r\n![tycb6 jpg](https://cloud.githubusercontent.com/assets/7513068/4519306/4d1ca918-4cb6-11e4-9446-18a31a3d2dd3.png)\r\n\r\n```python\r\nfrom kivy.app import App\r\nfrom kivy.uix.gridlayout import GridLayout\r\nfrom kivy.uix.label import Label\r\nfrom kivy.uix.textinput import TextInput\r\n\r\n\r\nclass LoginScreen(GridLayout):\r\n\r\n    def __init__(self, **kwargs):\r\n        super(LoginScreen, self).__init__(**kwargs)\r\n        self.cols = 2\r\n        self.add_widget(Label(text='User Name'))\r\n        self.username = TextInput(multiline=False)\r\n        self.add_widget(self.username)\r\n        self.add_widget(Label(text='password'))\r\n        self.password = TextInput(password=True, multiline=False)\r\n        self.add_widget(self.password)\r\n\r\n\r\nclass MyApp(App):\r\n\r\n    def build(self):\r\n        return LoginScreen()\r\n\r\n\r\nif __name__ == '__main__':\r\n    MyApp().run()\r\n```\r\n\r\n```python\r\n[INFO   ] Kivy v1.8.0\r\n[INFO   ] [Logger      ] Record log in /home/gianmt/.kivy/logs/kivy_14-10-05_10.txt\r\n[INFO   ] [Factory     ] 157 symbols loaded\r\n[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones\r\n[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s\r\n[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones\r\n[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif \r\n[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s\r\n[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s\r\n[INFO   ] [Text        ] Provider: pygame\r\n[DEBUG  ] [Cache       ] register <kv.loader> with limit=500, timeout=60s\r\n[INFO   ] [Loader      ] using a thread pool of 2 workers\r\n[DEBUG  ] [Cache       ] register <textinput.label> with limit=None, timeout=60.0s\r\n[DEBUG  ] [Cache       ] register <textinput.width> with limit=None, timeout=60.0s\r\n[DEBUG  ] [App         ] Loading kv <./my.kv>\r\n[DEBUG  ] [App         ] kv <./my.kv> not found\r\n[DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)\r\n[INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)\r\nlibpng warning: iCCP: known incorrect sRGB profile\r\n[WARNING] [WinPygame   ] Video: failed (multisamples=2)\r\n[WARNING] [WinPygame   ] trying without antialiasing\r\n[DEBUG  ] [Window      ] Display driver x11\r\n[DEBUG  ] [Window      ] Actual window size: 800x600\r\n[DEBUG  ] [Window      ] Actual color bits r8 g8 b8 a0\r\n[DEBUG  ] [Window      ] Actual depth bits: 24\r\n[DEBUG  ] [Window      ] Actual stencil bits: 8\r\n[DEBUG  ] [Window      ] Actual multisampling samples: 0\r\n[INFO   ] [GL          ] OpenGL version <2.1 Mesa 10.4.0-devel>\r\n[INFO   ] [GL          ] OpenGL vendor <VMware, Inc.>\r\n[INFO   ] [GL          ] OpenGL renderer <Gallium 0.4 on SVGA3D; build: RELEASE;  >\r\n[INFO   ] [GL          ] OpenGL parsed version: 2, 1\r\n[INFO   ] [GL          ] Shading version <1.20>\r\n[INFO   ] [GL          ] Texture max size <16384>\r\n[INFO   ] [GL          ] Texture max units <16>\r\n[DEBUG  ] [Shader      ] Fragment compiled successfully\r\n[DEBUG  ] [Shader      ] Vertex compiled successfully\r\n[DEBUG  ] [ImagePygame ] Load </usr/lib64/python2.7/site-packages/kivy/data/glsl/default.png>\r\n[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked\r\n[DEBUG  ] [Atlas       ] Load </usr/lib64/python2.7/site-packages/kivy/data/../data/images/defaulttheme.atlas>\r\n[DEBUG  ] [Atlas       ] Need to load 1 images\r\n[DEBUG  ] [Atlas       ] Load </usr/lib64/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>\r\n[DEBUG  ] [ImagePygame ] Load </usr/lib64/python2.7/site-packages/kivy/data/../data/images/defaulttheme-0.png>\r\n[INFO   ] [OSC         ] using <multiprocessing> for socket\r\n[DEBUG  ] [Base        ] Create provider from mouse\r\n[DEBUG  ] [Base        ] Create provider from probesysfs\r\n[DEBUG  ] [ProbeSysfs  ] using probsysfs!\r\n[INFO   ] [Base        ] Start application main loop\r\n[INFO   ] [GL          ] NPOT texture support is available\r\n\r\n```\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5102877-the-gui-size-does-not-change-after-a-window-resize?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}