-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Texture Button cuts itself on resizing window #2349
Labels
gui
Related to arcade GUI (sub module arcade.gui)
Comments
I fixed the example code to be runnable:
|
I will check, if I can somehow reproduce this. @Piedpiper5 Can you check with this version:
|
Looks like it was an issue with texture loading, no further support required |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So basically what is happening is that if the initial screen size is small (i don’t know how small) and u try to maximise it via the button on top right of the window the button cuts 3/4 off it self but if u manually maximise the window with ur cursor as much as u can and then click the top right button of the window it works fine (button doesn’t cut off).
Arcade 3.0.0.dev33
vendor: Intel
renderer: Intel(R) HD Graphics 5500
version: (3, 3)
python: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
platform: win32
pyglet version: 2.1.dev5
PIL version: 10.2.0
Actual behavior:
Button cuts off
Expected behavior:
Button doesn’t cut off
Steps to reproduce/example code:
Just run below code and click the maximise button of the opened window:
import arcade
import arcade.gui
print(arcade.get_display_size()[0], arcade.get_display_size()[1])
class StartingScreen(arcade.View):
def init(self):
super().init()
if name == 'main':
window = arcade.Window(
resizable=True,
width = 683,
height = 384
)
window.show_view(StartingScreen())
window.run()
Enhancement request:
I don’t know
What should be added/changed?
I don’t know
(rest of the questions are not applicable/irrelevant)
The text was updated successfully, but these errors were encountered: