fullscreen

Issue setting Kivy to fullscreen

99封情书 提交于 2020-08-24 06:31:51
问题 I'm trying to write an application that runs kivy at full screen. But these are my issues: 1) When I run the command: #Config.set('graphics', 'fullscreen', 1) Then kivy appears to go full time, but the window has a lot of black spaces around the background image. Even if I elongate the image, kivy just cuts the image when showing it. 2) When I run this command to set the window size to the size of my screen: Config.set('graphics', 'width', '1366') Config.set('graphics', 'height', '768') This

Issue setting Kivy to fullscreen

允我心安 提交于 2020-08-24 06:31:20
问题 I'm trying to write an application that runs kivy at full screen. But these are my issues: 1) When I run the command: #Config.set('graphics', 'fullscreen', 1) Then kivy appears to go full time, but the window has a lot of black spaces around the background image. Even if I elongate the image, kivy just cuts the image when showing it. 2) When I run this command to set the window size to the size of my screen: Config.set('graphics', 'width', '1366') Config.set('graphics', 'height', '768') This

Hide address bar in Progressive Web Applications

让人想犯罪 __ 提交于 2020-08-21 05:16:32
问题 I'm developing a PWA with VueJS. I started testing my application in real devices (Add to home screen). My application is intended to be 100% height, as it displays a map as you can see: It seems that sometimes, transitions that appear from outside the viewport height, makes the address bar appear at the top of the page. For a PWA, I think this behaviour makes the app feel less native, and also, breaks my design (The button at bottom center and the whole map container are not visible unless

Hide address bar in Progressive Web Applications

左心房为你撑大大i 提交于 2020-08-21 05:16:01
问题 I'm developing a PWA with VueJS. I started testing my application in real devices (Add to home screen). My application is intended to be 100% height, as it displays a map as you can see: It seems that sometimes, transitions that appear from outside the viewport height, makes the address bar appear at the top of the page. For a PWA, I think this behaviour makes the app feel less native, and also, breaks my design (The button at bottom center and the whole map container are not visible unless

The fullscreen mode in pygame is entirely black

不问归期 提交于 2020-08-09 10:18:03
问题 I have some issues with the fullscreen option of pygame. Here is some code that simply draws a blue window and by pressing R we can switch between blue and purple. Then we can also toggle between fullscreen and windowed mode using F or G . F is implemented explicitly and G uses the method toggle_fullscreen(). import pygame, sys from pygame.locals import * #Initializes pygame pygame.init() #Defines the Clock object clock = pygame.time.Clock() #Just draws a blue screen size = (960, 540) blue =