Python Forum
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PySimpleGUI] Tutorial - Name, Address, Phone GUI
#15
(Aug-05-2018, 08:13 AM)jfong Wrote: Run the SourceDestFolders() in Demo_Recipes.py, I get an untrimmed 18 characters long 'Destination Folder' displayed correctly although its size was set to (15, 1). Why is it?

I'm not sure of this.

When I looked into the code for that example, the width I pass to tk.Label to create the text field indeed has the value '15' despite being able to hold more characters.

Perhaps it could be due to the variable width of characters? Not all 15 characters are alike in that case.
Reply


Messages In This Thread
RE: [PySimpleGUI] Tutorial - Name, Address, Phone GUI - by PySimpleGUI - Aug-05-2018, 06:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySimpleGUI Try Except jamesaarr 1 2,007 Nov-18-2021, 02:02 PM
Last Post: jamesaarr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020