Issue with resizing
See original GitHub issueHello
First of i want to say thank you for this great library!
I am currently using the library to write an application where i know the screen size so I am using .place for placement and resizing. It is an application for a touch screen so i need the widgets to be a bit bigger than they would be on a computer screen.
Everything has been going well until I attempted to uppgrade to 1.0 in order to use some of the new widgets, more specifically the ON/OFF toggle widget. When trying to place and resize using:
#ON/OFF switch
label = Label(text="Include row numbers").place(x=x_placement, y=170)
Checkbutton(bootstyle="success-round-toggle").place(x=x_placement, y=190, width = 200, height = 80)
I get the following result
If i change the code to
#ON/OFF switch
label = Label(text="Include row numbers").place(x=x_placement, y=180)
Checkbutton(bootstyle="success-round-toggle").place(x=x_placement, y=190, width = 200, height = 80)
I get:
So seems like the actual bounding box(not sure about the terminology) is resizing but not the widget.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
8 Fixes When You Can't Resize Window in Windows 11 and 10
Try resizing the window after each app is closed so you know which one is causing the issue.
Read more >Issue resizing images - Microsoft Community Hub
I am having trouble resizing images in word, when I click on the resize boxes - the picture inverts and goes to a...
Read more >Resizing of windows is not reliable - Visual Studio Feedback
This issue is read only, because it has been in the Closed - Fixed state for over 90 days ... Workaround: undock the...
Read more >Resizing Issue · Issue #175 · romkatv/powerlevel10k - GitHub
I'm getting strange behavior when I resize my terminal. Is this expected? My p10k config is here.
Read more >how do i fix this resizing issue with my container and div boxes
Please refer to the video on what my issue is. I want the div and header to resize proportionally when I make it...
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
Thank you! The scaling was exactly what I wanted(saved me a lot of resizing of other widgets).
However I did have some interesting behavior with the enable_high_dpi_awareness(). I am running Windows and I tried to follow the docs and place the call before the root object like the docs said but did this not work. However when I placed the call after creating the root object per the instructions on Linux it worked perfectly.
Closing this issue, as I created workarounds in
Window
for scaling and hdpi.