Is there a way to maximize the pygame window when intializing the window with set_mode without making it completely fulsscreen. I tried to get the required window_size by printing event.size, when VIDEORESIZE is called, which is (1920, 1017). But if I use this value for my window_size when setting mode I just get a window at the same size of a maximized window. If I press maximize in the top right corner it just switches between a thicker and a thinner border.
Obviously i want the thinner border, is that possible from the start?
Maximize the pygame window without making it fullscreen
87 Views Asked by Honn At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYGAME
- Platform Generation for a Sky Hop clone
- How would I code player jump physics, similar to "soccer physics", and make players collide with a ball in pygame?
- creating cutscenes using OOP and pygame
- Building pygame game with buildozer causes fatal error
- Rendering a visualisation of matrix using pygame
- problem with the automatic jump function - doodlejump pygame
- After starting my code it closes immediately
- Python OpenCV and PyGame threading issue
- I can't set up a timer in my clicker game
- I'm making a piano with pygame and I've been trying to activate a tile's animation through key input but I haven't been able to figure it out
- collision detection in pygame-python
- Im trying to freeze my screen whats the code and variable?
- AI and Game physics
- Trying to spawn n non-colliding sprites; pygame crashing
- How to create certain pixels translucent in pygame
Related Questions in WINDOW
- Pycharm doesn't show "executable_path" and I got this error and no idea what to do
- Join statement with nested select
- Are there any tools or NuGet packages available for C# (Windows Forms) that assist in visualizing Dijkstra's algorithm?
- paho mqtt java cannot reconnect after a long time machine sleep
- An issue where memory peaks abnormally and then normalizes again
- Writing large buffer data to a file using Windows API
- Pyspark Cummularive Sum Window Date and Sequence Number
- Get value from new popup window by clicking on an element using Jquery
- How will create the updater & repair window's in NSIS using NULL SCRIPT
- window.localStorage function not working on API Routing NextJS
- Is there any way to make tkinter window dismiss Win + D command?
- How to get JSON data from an external window in javaScript(different domains)
- Overriding the default export button click event in crystal report viewer Print UI fdialog
- Is there a way using JavaScript to open a new window in another monitor?
- Unable docker desktop with Window 10 Pro
Related Questions in MAXIMIZE
- Consumer Maximization Problem Doesn't Work in Wolfram Mathematica
- Optimizing weighted substitutions
- How do I get the best values of certain parameters that will give me the highest velocity
- python: Optimise groups of similar products for similarity in groups and for similarity over groups collectively?
- profit maximization problem (optimization)
- Problem in Maximization using genetic algorithm
- I am trying to maximize the following function
- Matlab code for lifetime optimization in wireless body area networks
- Getting solution as nan for mixed integer non linear programming problem with objective function as a fraction
- R, maximization problem, MIPModel - some questions
- Optimization with multiple inequality constraints
- Finding the minimum value of a non-linear function over a closed interval in Matlab
- My application runs fine, but when I toggle to full screen the screen maximizes but the design stays the same size
- Find the smallest range that contains a given percentage of values
- In R, given y = f(x), how do I find the global max of y/x?
Related Questions in MAXIMIZE-WINDOW
- How to resize maximized child window programmatically
- Seleniumbase maximize window
- Maximize does not expand content to the top of the window [Windows MAUI]
- Javafx: Change in-line css style during runtime
- Initialize Form as Maximized in a Python FMX GUI App
- How to maximize image on button click in jetpack compose?
- Maximize Window to Have Client Area Just Fill Screen Issue (Windows 10, Win32 DLL)
- How do I maximize a form from an other form?
- Starting AutoHotkey GUI min/max/hidden from OUTSIDE the script
- When I Put my jFrame at Maximized Both And Not Resizable It Hides Taskbar But Its Good When I only Put it At Maximized Both
- Testcafe: Is there a way to maximize window from testcafe configuration file?
- Making a panel stretch to the size of the canvas and then back to its previous size like a "maximize" button in Unity
- C#, when I maximize the form it moves to the top left
- PowerShell control maximise / restore for console window
- How to support for Windows 11 "Snap Layout" to the custom maximize/restore button in WPF?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should try to use the
RESIZEABLEWhen usingset_modein pygame likeDISPLAYSURF = pygame.display.set_mode((1920,1017), RESIZABLE)