-
-
Notifications
You must be signed in to change notification settings - Fork 0
Grid Layout
Lasha Kandelaki edited this page May 7, 2026
·
3 revisions
A
CTkFramepalette preset withlayout_type = grid. The frame is carved intogrid_rows × grid_colscells and children auto-flow into them.
Wraps customtkinter.CTkFrame.
| Group | Properties |
|---|---|
| Geometry |
x, y, width, height
|
| Rectangle |
corner_radius, border_enabled, border_width, border_color
|
| Main Colors | fg_color |
| Layout |
layout_type, layout_spacing, grid_rows, grid_cols
|
Per-child hints (set on each member): grid_sticky (cell fill — empty = centered, nsew = fill).
Exact set comes from the descriptor in
app/widgets/ctk_frame.py.
See also — CTkFrame · Vertical Layout · Horizontal Layout