spyoungtech / spyoungtech/FreeSimpleGUI
Combo box size changes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 867
- Forks
- 106
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
I'm writing Python code using "FreeSimpleGUI 5.2.0.post1" uploaded to the PyPI site.
To create two combo boxes in a window, and dynamically change the contents of the lists in one combo box based on the value selected in the other combo box.When using FreeSimpleGUI, the size of the dynamically changing combo boxes changes to match the total width of the number of characters.This phenomenon didn't happen when using PySimpleGUI.
How can I know to prevent the width of the combo boxes from changing?
I created a sample file and attached it with this mail. Please check it to see what the problem is.
Sincerely yours
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached main.py and reproduce the two-combo-box example using FreeSimpleGUI 5.2.0.post1. Trace the combo-box creation and the update triggered by the first selection, then compare the displayed width before and after the list changes. Done means the dynamically updated combo box keeps a stable width while its contents change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100