Add trace of primitives and material
This commit is contained in:
@@ -157,13 +157,19 @@ namespace StructureHelper.Windows.CalculationWindows.ProgressViews
|
||||
{
|
||||
const int columnWidth = 150;
|
||||
var rows = tableEntry.Table.GetAllRows();
|
||||
int rowCount = rows.Count();
|
||||
int columnCount = tableEntry.Table.RowSize;
|
||||
var table = new Table();
|
||||
for (int x = 0; x < columnCount; x++)
|
||||
{
|
||||
var tableColumn = new TableColumn();
|
||||
tableColumn.Width = new GridLength(columnWidth);
|
||||
if (tableEntry.ColumnWidth[x] > 0d)
|
||||
{
|
||||
tableColumn.Width = new GridLength(tableEntry.ColumnWidth[x]);
|
||||
}
|
||||
else
|
||||
{
|
||||
tableColumn.Width = new GridLength(columnWidth);
|
||||
}
|
||||
table.Columns.Add(tableColumn);
|
||||
}
|
||||
foreach (var row in rows)
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
xmlns:uc="clr-namespace:StructureHelper.Windows.UserControls"
|
||||
d:DataContext="{d:DesignInstance local:TraceDocumentVM}"
|
||||
mc:Ignorable="d"
|
||||
Title="Trace Document Viewer" Height="600" Width="800" MinHeight="400" MinWidth="600" WindowStartupLocation="CenterScreen">
|
||||
Title="Document Viewer" Height="600" Width="800" MinHeight="400" MinWidth="600" WindowStartupLocation="CenterScreen">
|
||||
<Grid>
|
||||
<DockPanel>
|
||||
<ToolBarTray DockPanel.Dock="Top">
|
||||
|
||||
Reference in New Issue
Block a user