Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Combo box size changes

Aperta
#82 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

main.py

Lingua principale
Python
Stelle
867
Fork
106
Merge medio
1m
PR unite (30g)
2

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di spyoungtech/FreeSimpleGUI

Tutte le issue di spyoungtech/FreeSimpleGUI

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.