Skip to content

Grid Layout

Lasha Kandelaki edited this page May 7, 2026 · 3 revisions

Grid Layout

A CTkFrame palette preset with layout_type = grid. The frame is carved into grid_rows × grid_cols cells and children auto-flow into them.

Wraps customtkinter.CTkFrame.

Properties

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 alsoCTkFrame · Vertical Layout · Horizontal Layout

Clone this wiki locally