Fix indenting on ConsoleDisplayTable, align indenting on "show animations" console command
parent
afcf5a7591
commit
226d655f23
|
@ -56,7 +56,7 @@ namespace OpenSim.Framework.Console
|
|||
public List<ConsoleDisplayTableRow> Rows { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Number of spaces to indent the table.
|
||||
/// Number of spaces to indent the whole table.
|
||||
/// </summary>
|
||||
public int Indent { get; set; }
|
||||
|
||||
|
@ -113,7 +113,8 @@ namespace OpenSim.Framework.Console
|
|||
|
||||
for (int i = 0; i < Columns.Count; i++)
|
||||
{
|
||||
formatSb.Append(' ', TableSpacing);
|
||||
if (i != 0)
|
||||
formatSb.Append(' ', TableSpacing);
|
||||
|
||||
// Can only do left formatting for now
|
||||
formatSb.AppendFormat("{{{0},-{1}}}", i, Columns[i].Width);
|
||||
|
|
|
@ -149,7 +149,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Animations
|
|||
{
|
||||
sb.AppendFormat("Animations for {0}\n", sp.Name);
|
||||
|
||||
ConsoleDisplayList cdl = new ConsoleDisplayList();
|
||||
ConsoleDisplayList cdl = new ConsoleDisplayList() { Indent = 2 };
|
||||
ScenePresenceAnimator spa = sp.Animator;
|
||||
AnimationSet anims = sp.Animator.Animations;
|
||||
|
||||
|
|
Loading…
Reference in New Issue