aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SharedUI/Controls
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-04 11:58:10 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-04 11:58:10 +0300
commit0b804fd5df94b66c6be119660581ab3978d31d59 (patch)
tree54aa895584710e980f5f0c0701824586f1aaf3d1 /Software/Visual_Studio/Tango.SharedUI/Controls
parent3e11b6594d73eb3e7eda93920ecef942f4c301c4 (diff)
downloadTango-0b804fd5df94b66c6be119660581ab3978d31d59.tar.gz
Tango-0b804fd5df94b66c6be119660581ab3978d31d59.zip
Fixed issue with machine studio update service version sorting.
Added about dialog to machine studio with version information. Fixed issue with Stubs UI installer. Stubs UI v3.1 Machine Studio v1.0.0.10
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI/Controls')
-rw-r--r--Software/Visual_Studio/Tango.SharedUI/Controls/TableGrid.cs28
1 files changed, 16 insertions, 12 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/TableGrid.cs b/Software/Visual_Studio/Tango.SharedUI/Controls/TableGrid.cs
index 7a0f6de61..ac60c5cff 100644
--- a/Software/Visual_Studio/Tango.SharedUI/Controls/TableGrid.cs
+++ b/Software/Visual_Studio/Tango.SharedUI/Controls/TableGrid.cs
@@ -72,23 +72,27 @@ namespace Tango.SharedUI.Controls
for (int i = 0; i < Children.Count; i++)
{
- SetRow(Children[i], currentRow);
-
- if (i % 2 != 0)
+ try
{
- SetColumn(Children[i], 1);
- if ((Children[i] as FrameworkElement).Margin == new Thickness())
+ SetRow(Children[i], currentRow);
+
+ if (i % 2 != 0)
{
- (Children[i] as FrameworkElement).Margin = SecondRowMargin;
+ SetColumn(Children[i], 1);
+ if ((Children[i] as FrameworkElement).Margin == new Thickness())
+ {
+ (Children[i] as FrameworkElement).Margin = SecondRowMargin;
+ }
+ currentRow++;
+ RowDefinitions.Add(new RowDefinition() { Height = RowHeight });
}
- currentRow++;
- RowDefinitions.Add(new RowDefinition() { Height = RowHeight });
- }
- if (MakeFirstColumnVerticalAlignmentBottom)
- {
- (Children[i] as FrameworkElement).VerticalAlignment = VerticalAlignment.Bottom;
+ if (MakeFirstColumnVerticalAlignmentBottom)
+ {
+ (Children[i] as FrameworkElement).VerticalAlignment = VerticalAlignment.Bottom;
+ }
}
+ catch { }
}
}
}