From 8bfb9e8c6b04fe1bc157ce601497012153338d07 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Tue, 27 Oct 2026 20:26:07 +0000 Subject: [PATCH] demo(overview): update splitter description Simply the description for the 'Splitter' layout and prevent cut off text. Fixes https://github.com/Immediate-Mode-UI/Nuklear/issues/1001 --- demo/common/overview.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/demo/common/overview.c b/demo/common/overview.c index 68292c7b0..143f72e43 100644 --- a/demo/common/overview.c +++ b/demo/common/overview.c @@ -1303,9 +1303,8 @@ overview(struct nk_context *ctx) if (nk_tree_push(ctx, NK_TREE_NODE, "Splitter", NK_MINIMIZED)) { const struct nk_input *in = &ctx->input; - nk_layout_row_static(ctx, 20, 320, 1); - nk_label(ctx, "Use slider and spinner to change tile size", NK_TEXT_LEFT); - nk_label(ctx, "Drag the space between tiles to change tile ratio", NK_TEXT_LEFT); + nk_layout_row_dynamic(ctx, 30, 1); + nk_label_wrap(ctx, "Adjust the tile sizes with the sliders or by dragging the space between tiles"); if (nk_tree_push(ctx, NK_TREE_NODE, "Vertical", NK_MINIMIZED)) {