From 9dceeb8c058267e04bf551db7a9659e3ba5bdab3 Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 16 Jul 2024 21:52:30 +0300 Subject: Reigui property_list and tree_view use scrissor mode. --- examples/raygui_extensions/main.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/raygui_extensions/main.lua') diff --git a/examples/raygui_extensions/main.lua b/examples/raygui_extensions/main.lua index 8c549f3..4cd537d 100644 --- a/examples/raygui_extensions/main.lua +++ b/examples/raygui_extensions/main.lua @@ -85,6 +85,7 @@ local function addPropertyList() } ) RL.GuiSetStyle( RL.SPINNER, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_LEFT ) + PropertyList.contentPadding.x = PropertyList.bounds.height -- Room for dropdown. PropertyList:addControl( PropertyList.gui:Line( Rectangle:new( 0, 0, 0, 0 ), -- cgit v1.2.3