Comments (1)
Here, need to find way how to implement it by pure code of PySimpleGUI,
- option
expand_x
,expand_y
ofsg.Column
, and - method expand of
sg.Element
with optionexpand_x
,expand_y
andexpand_row
And to check why some element with extra frame, not ParentRowFrame
>>> widget_list
[<tkinter.Frame object .!toplevel.!frame>,
<tkinter.Frame object .!toplevel.!frame.!frame>,
<tkinter.Frame object .!toplevel.!frame.!frame2>,
<tkinter.ttk.Treeview object .!toplevel.!frame.!frame.!treeview>,
<tkinter.Scrollbar object .!toplevel.!frame.!frame.!scrollbar>,
<tkinter.Scrollbar object .!toplevel.!frame.!frame2.!scrollbar>,
<tkinter.scrolledtext.ScrolledText object .!toplevel.!frame.!frame2.!scrolledtext>]
>>> window['table'].ParentRowFrame
<tkinter.Frame object .!toplevel.!frame>
>>> window['multiline'].ParentRowFrame
<tkinter.Frame object .!toplevel.!frame>
For method expand
of sg.Element
, it only update itself and ParentRowFrame
, not for master widget.
self.Widget.pack(expand=True, fill=fill)
self.ParentRowFrame.pack(expand=expand_row, fill=fill)
For option expand_x
, expand_y
of sg.Column
only work for itself, and expand True if any one set True
.
from pysimplegui-solution.
Related Issues (20)
- Click right_click_menu block the event loop
- popup_Animated & multithread
- Binding the ButtonPress an d ButtonRelease for the Button element
- Move mouse pointer by tkinter code
- Change the color for any node in the Tree element
- Scroll item to center of view for Table
- Partial update the data in Table element
- Scroll line to center of view for Multiline
- Build a progressbar by using Graph element
- Renew the row data and columns for the tkinter Treeview widget HOT 1
- Create a new console by Multiline element
- Add SpanSelector to embedded matplotlib canvas for PySimpleGUI
- Multiline text for Checkbox
- Resize window when configured
- Highlight when mouse hover the item in Table/Tree element
- Animation on Canvas element
- Animation GIF by new tcl/tk code HOT 1
- See index in Multiline element
- Filter Table by datetime
- Set colors of scrollbar for Combo Dropdown list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysimplegui-solution.