Skip to content

Commit 229a1b9

Browse files
committed
#1742 Set Width to frame width - 250
1 parent fe5bcfc commit 229a1b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GSE_GUI/Editor.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -2423,7 +2423,7 @@ function GSE.CreateEditor()
24232423

24242424
local linegroup1 = AceGUI:Create("KeyGroup")
24252425
linegroup1:SetLayout("Flow")
2426-
linegroup1:SetWidth(contentcontainer:GetWidth())
2426+
linegroup1:SetWidth(editframe.Width - 250)
24272427

24282428
local spacerlabel1 = AceGUI:Create("Label")
24292429
spacerlabel1:SetWidth(5)
@@ -2666,7 +2666,7 @@ function GSE.CreateEditor()
26662666

26672667
local linegroup2 = AceGUI:Create("KeyGroup")
26682668
linegroup2:SetLayout("Flow")
2669-
linegroup2:SetWidth(contentcontainer:GetWidth())
2669+
linegroup2:SetWidth(editframe.Width - 250)
26702670

26712671
local spacerlabel2 = AceGUI:Create("Label")
26722672
spacerlabel2:SetWidth(6)
@@ -2839,7 +2839,7 @@ function GSE.CreateEditor()
28392839

28402840
local linegroup3 = AceGUI:Create("KeyGroup")
28412841
linegroup3:SetLayout("Flow")
2842-
linegroup3:SetWidth(contentcontainer:GetWidth())
2842+
linegroup3:SetWidth(editframe.Width - 250)
28432843

28442844
local spacerlabel3 = AceGUI:Create("Label")
28452845
spacerlabel3:SetWidth(6)

0 commit comments

Comments
 (0)