@@ -19,6 +19,8 @@ local Color = require(script.Color)
1919local FontFace = require (script .FontFace )
2020local GuiObjectPart = require (script .GuiObjectPart )
2121local LineJoinMode = require (script .LineJoinMode )
22+ local HorizontalAlignment = require (script .HorizontalAlignment )
23+ local VerticalAlignment = require (script .VerticalAlignment )
2224
2325local PluginGui = {}
2426
@@ -146,6 +148,15 @@ function PluginGui:newPluginGui(widgetGui)
146148 )
147149 fontTextChoice :GetFrame ().Parent = textCollapse :GetContentsFrame ()
148150
151+ local alignmentCollapse = CollapsibleTitledSection .new ( -- Fonts collapse
152+ " alignmentCollapse" , -- name suffix of the gui object
153+ " Alignment" , -- the text displayed beside the collapsible arrow
154+ true , -- have the content frame auto-update its size?
155+ true , -- minimizable?
156+ true -- minimized by default?
157+ )
158+ listFrame :AddChild (alignmentCollapse :GetSectionFrame ()) -- add child to expanding VerticallyScalingListFrame
159+
149160 local strokeCollapse = CollapsibleTitledSection .new ( -- Fonts collapse
150161 " strokeCollapse" , -- name suffix of the gui object
151162 " Stroke" , -- the text displayed beside the collapsible arrow
@@ -163,25 +174,6 @@ function PluginGui:newPluginGui(widgetGui)
163174 )
164175 strokeCheckbox :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
165176
166- local colorStrokeChoice = LabeledMultiChoice .new (
167- " colorStrokeChoice" , -- name suffix of gui object
168- " Color" , -- title text of the multi choice
169- Color , -- choices array
170- 11 -- the starting index of the selection
171- )
172- if GuiUtilities :ShouldUseIconsForDarkerBackgrounds () == true then
173- colorStrokeChoice :SetSelectedIndex (11 )
174- end
175- colorStrokeChoice :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
176-
177- local joinStrokeChoice = LabeledMultiChoice .new (
178- " joinStrokeChoice" , -- name suffix of gui object
179- " Line Join Mode" , -- title text of the multi choice
180- LineJoinMode , -- choices array
181- 1 -- the starting index of the selection
182- )
183- joinStrokeChoice :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
184-
185177 local thicknessStrokeSlider = LabeledSlider .new ( -- Size Slider
186178 " thicknessStrokeSlider" , -- name suffix of gui object
187179 " Thickness" , -- title text of the multi choice
@@ -198,6 +190,26 @@ function PluginGui:newPluginGui(widgetGui)
198190 )
199191 transparencyStrokeSlider :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
200192
193+ local joinStrokeChoice = LabeledMultiChoice .new (
194+ " joinStrokeChoice" , -- name suffix of gui object
195+ " Line Join Mode" , -- title text of the multi choice
196+ LineJoinMode , -- choices array
197+ 1 -- the starting index of the selection
198+ )
199+ joinStrokeChoice :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
200+
201+ local colorStrokeChoice = LabeledMultiChoice .new (
202+ " colorStrokeChoice" , -- name suffix of gui object
203+ " Color" , -- title text of the multi choice
204+ Color , -- choices array
205+ 11 -- the starting index of the selection
206+ )
207+ if GuiUtilities :ShouldUseIconsForDarkerBackgrounds () == true then
208+ colorStrokeChoice :SetSelectedIndex (11 )
209+ end
210+ colorStrokeChoice :GetFrame ().Parent = strokeCollapse :GetContentsFrame ()
211+
212+
201213 local backgroundCollapse = CollapsibleTitledSection .new ( -- Fonts collapse
202214 " backgroundCollapse" , -- name suffix of the gui object
203215 " Background" , -- the text displayed beside the collapsible arrow
0 commit comments