Macro in ldk_ui.h

LDK_UI_AREA_PADDING

#define LDK_UI_AREA_PADDING 8.0f
Macro in ldk_ui.h

LDK_UI_DEFAULT_PADDING

#define LDK_UI_DEFAULT_PADDING 4.0f
Macro in ldk_ui.h

LDK_UI_TAB_BAR_TAB_PADDING

#define LDK_UI_TAB_BAR_TAB_PADDING 14.0f
Function in ldk_ui.h

ldk_ui_set_padding

Set the current container's uniform content inset in pixels. Call after successfully opening a window, an expanded area, or a vertical/horizontal/scrollview layout, before adding children. Nested containers keep their own padding. Zero removes the inset; negative or nonfinite values are treated as zero.

LDK_API void ldk_ui_set_padding(
 LDKUIContext *ctx,
 float padding
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
float padding
Padding used by this operation.