PySimpleGUI / PySimpleGUI/PySimpleGUI
[Bug] PySimpleGUIQt Frame Element not working as expected inside column
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 13.8k
- Forks
- 1.8k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Bug
Operating System: Windows 10
Python version: 3.8.3
PySimpleGUI Port and Version:
<module 'PySimpleGUIQt' from 'C:\\Program Files\\Python38\\lib\\site-packages\\PySimpleGUIQt\\__init__.py'>
0.35.0 Released 6-Jun-2020
Your Experience Levels In Months or Years
2 years of Python programming experience
2 years Programming experience overall
Have used another Python GUI Framework (tkinter, Qt, etc) previously (yes/no is fine)? No
You have completed these steps:
- Read instructions on how to file an Issue
- Searched through main docs http://www.PySimpleGUI.org for your problem
- Searched through the readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
- Looked for Demo Programs that are similar to your goal http://www.PySimpleGUI.com
- Note that there are also Demo Programs under each port on GitHub
- Run your program outside of your debugger (from a command line)
- Searched through Issues (open and closed) to see if already reported
- Try again by upgrading your PySimpleGUI.py file to use the current one on GitHub. Your problem may have already been fixed but is not yet on PyPI.
Description of Problem / Question / Details
The border and the Frame title gets cut off when placing it inside a column.

Code To Duplicate
import PySimpleGUIQt as sg
print(sg)
print(sg.version)
frame_1 = [
[sg.Text("Text 1"), sg.Input()],
[sg.Ok()],
]
frame_2 = [
[sg.Text("Text 2"), sg.Input()],
[sg.Ok()],
]
col_1 = [[sg.Frame("Frame1", frame_1)]]
layout = [[sg.Column(col_1), sg.Frame("Frame2", frame_2)]]
window = sg.Window("Window1", layout)
while True:
event, values = window.read()
if event == (sg.WIN_CLOSED):
break
window.close()
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Reproduza o problema com o snippet Python fornecido usando PySimpleGUIQt e, em seguida, inspecione os pontos de entrada de Frame e Column envolvidos no layout e na renderização. Considera-se concluído quando a borda e o título de Frame estiverem totalmente visíveis ao colocar Frame dentro de uma Column.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- desktop
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100