GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_widget_grid_gap Struct Reference

Describes a row or a column border or a gap between cells. More...

#include <gp_widget_grid.h>

Data Fields

uint8_t padd
 A padding, static part of the border/gap.
 
uint8_t fill
 A dynamic part of the border/gap.
 

Detailed Description

Describes a row or a column border or a gap between cells.

Definition at line 104 of file gp_widget_grid.h.

Field Documentation

◆ fill

uint8_t gp_widget_grid_gap::fill

A dynamic part of the border/gap.

If widget alignment is set to fill in either horizontal or vertical direction any leftover space may need to be distributed based on the fill coeficients for the cells and borders/gaps. The higher the fill coeficient is the more leftover space will be allocated.

Definition at line 120 of file gp_widget_grid.h.

◆ padd

uint8_t gp_widget_grid_gap::padd

A padding, static part of the border/gap.

This is a size in an unspecified unit of the border/gap that is accounted for when minimal size of the grid is calculated.

Definition at line 111 of file gp_widget_grid.h.


The documentation for this struct was generated from the following file: