Changed layout of messages to make them consistent
This commit is contained in:
@@ -354,6 +354,16 @@ namespace EduNetworkBuilder
|
||||
if (myWin == null) return null;
|
||||
return myWin.PuzzleInfoFromName(PuzzleName);
|
||||
}
|
||||
|
||||
public static string LeftPad(string what, int amount=-1)
|
||||
{
|
||||
int UseAmount = 10;
|
||||
if (amount != -1) UseAmount = amount;
|
||||
string format = "{0," + (0 - UseAmount).ToString() + "}";
|
||||
string mystring = string.Format(format, what);
|
||||
return mystring;
|
||||
}
|
||||
|
||||
public static void ChangeLanguage()
|
||||
{
|
||||
//Find the window. If it exists, use /set the language setting there. If not, use / set the default.
|
||||
|
Reference in New Issue
Block a user