Merge branch 'patch/6.0.9'

This commit is contained in:
Cooldude2606
2020-05-28 20:26:07 +01:00
6 changed files with 36 additions and 32 deletions

View File

@@ -105,7 +105,7 @@ local header = Gui.header(
]]
Gui.header =
Gui.element(function(_, parent, caption, tooltip, add_alignment, name)
Gui.element(function(_, parent, caption, tooltip, add_alignment, name, label_name)
-- Draw the header
local header =
parent.add{
@@ -123,7 +123,7 @@ Gui.element(function(_, parent, caption, tooltip, add_alignment, name)
-- Draw the caption label
if caption then
header.add{
name = 'header_label',
name = label_name or 'header_label',
type = 'label',
style = 'heading_1_label',
caption = caption,