Dimensions for window not working.
See original GitHub issueHi. When setting fullscreen
, width
, or height
, it does not render in the window that is opened.
from flask import Flask
from flask import render_template
from flaskwebgui import FlaskUI
app = Flask(__name__)
ui = FlaskUI(app, fullscreen=True)
@app.route('/')
def hello():
return render_template('index.jinja')
if __name__ == '__main__':
ui.run()
I still get the default dimensions opened. Is this happening to anyone else? Any fix? I am using the latest version. By the way, this library is super useful! Thanks for making this.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to Fix Windows not Remembering Window Positions and ...
If you are still encountering the issue of Windows not remembering window sizes and positions (even for the last closed window), then you...
Read more >Adobe Dimension - Running but Window not Opening
Hi,. I have most recent verions of Dimension, have been running with no issue. Now it runs without opening. Task manager confirms it's...
Read more >Windows 11 Does Not Remember Window Position and Size ...
If Windows does not remember the window position and size then ... However, the problem of it not remembering window positions and sizes...
Read more >What are Standard Window Sizes? - Modernize
Sliding window horizontal widths are available in 36in, 48in, 60in, 72in, and 84 inches. Sliding window heights available are 24in, 36in, 48in, and...
Read more >Dimensions are going to the center of the window and not the ...
Hello, I have been working on this building and putting in hundreds of window. I have been dimensioning to the sides of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added script to base template:
<script>window.resizeTo(800,600);</script>.And it works for me.
Hi @ClimenteA. Thanks for your reply. I’ll take a look, but am not an expert, so I don’t know if I can solve the issue. Also, I think it might be a good idea to add a note of this to the README or something, because I spent quite some time debugging before realizing that this was a problem with the library.