diff options
author | 2010-10-26 01:35:58 +0000 | |
---|---|---|
committer | 2010-10-26 01:35:58 +0000 | |
commit | 75b3f5be7c13f16560bf831e140a0d46f885902c (patch) | |
tree | cc135baff4516501aae999a0e5e7c379d7ab44c5 /Source/ModelViewer/Main.cs | |
parent | 14fd1ed33b759735c9bd8255c37885c066f7040f (diff) |
Start work on the generic namer
Diffstat (limited to 'Source/ModelViewer/Main.cs')
-rw-r--r-- | Source/ModelViewer/Main.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/ModelViewer/Main.cs b/Source/ModelViewer/Main.cs index 7e45a558..e538e8b3 100644 --- a/Source/ModelViewer/Main.cs +++ b/Source/ModelViewer/Main.cs @@ -136,12 +136,12 @@ namespace Microsoft.Boogie.ModelViewer if (!item.active)
textBrush = grayedOut;
- var sz = e.Graphics.MeasureString(item.dispNode.Name, font);
+ var sz = e.Graphics.MeasureString(item.dispNode.Name.FullName(), font);
nameRect.Width = currentStateView.Columns[0].Width - 1 - off;
if (nameRect.Width < sz.Width + 2)
nameRect.Width = (int)sz.Width + 20;
nameRect.X += off;
- e.Graphics.DrawString(item.dispNode.Name, font, textBrush, nameRect);
+ e.Graphics.DrawString(item.dispNode.Name.FullName(), font, textBrush, nameRect);
var valRect = rect;
valRect.X = nameRect.X + nameRect.Width + 4;
@@ -269,7 +269,7 @@ namespace Microsoft.Boogie.ModelViewer this.ToolTipText = values;
}
- this.SubItems[0].Text = dispNode.Name;
+ this.SubItems[0].Text = dispNode.Name.FullName();
this.SubItems[1].Text = values;
}
|