Skip to content

Commit

Permalink
fix gui space issue
Browse files Browse the repository at this point in the history
see #281
  • Loading branch information
Banaanae committed Aug 13, 2024
1 parent eec0868 commit ff96a0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ConvertFuncs.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ _Gui(p) {
if (RegExMatch(GuiOldName, "^oGui\d+$")) {
GuiOldName := StrReplace(GuiOldName, "oGui")
}
Var1 := RegExReplace(p[1], "i)^([^:]*):(.*)$", "$2")
Var1 := RegExReplace(p[1], "i)^([^:]*):\s*(.*)$", "$2")
Var2 := p[2]
Var3 := p[3]
Var4 := p[4]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Gui, GuiName: Add, Text,, Spaces do not appear`nbetween name and method
Gui, GuiName: Show, w200 h100
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
GuiName := Gui()
GuiName.Add("Text", , "Spaces do not appear`nbetween name and method")
GuiName.Show("w200 h100")

0 comments on commit ff96a0f

Please sign in to comment.