From eda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 5 Feb 2024 22:40:31 +0200 Subject: Raygui styles include properties, texture and font. --- examples/raygui_extensions/property_list.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/raygui_extensions/property_list.lua') diff --git a/examples/raygui_extensions/property_list.lua b/examples/raygui_extensions/property_list.lua index 04c2b78..35f2f36 100644 --- a/examples/raygui_extensions/property_list.lua +++ b/examples/raygui_extensions/property_list.lua @@ -141,7 +141,9 @@ function PropertyList:addGroup( name, active, group ) active, function( this ) this.text = setGroupText( name, this.active ) self:updateContent() end, { - { RL.TOGGLE, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_LEFT } + properties = { + { RL.TOGGLE, RL.TEXT_ALIGNMENT, RL.TEXT_ALIGN_LEFT } + } } ) control._controls = {} -- Prefix _ to try to prevent clashing with control definition. -- cgit v1.2.3