Skip to content

Commit

Permalink
ui cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mitevpi committed Apr 30, 2020
1 parent 5bf7fa6 commit 8070ea3
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions Revit Template/UI.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" x:Class="RevitTemplate.Ui"
mc:Ignorable="d"
Title="Template Application" Height="354.083" Width="621.47" WindowStartupLocation="CenterScreen" Background="White"
Title="Template Application" Height="319.416" Width="668.137" WindowStartupLocation="CenterScreen"
Background="White"
Foreground="Gray" FontSize="12"
Name="DebugUtility" Icon="Resources/revit-wire.ico">
<!--Closing="Window_Closing"-->
Expand All @@ -23,7 +24,7 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/code.png" VerticalAlignment="Center" HorizontalAlignment="Center"
Height="10" />
Height="14" />
<Label Content="Debug" />
</StackPanel>
</TabItem.Header>
Expand All @@ -38,7 +39,7 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/terminal.png" VerticalAlignment="Center" HorizontalAlignment="Center"
Height="10" />
Height="13" />
<Label Content="Code" />
</StackPanel>
</TabItem.Header>
Expand All @@ -53,7 +54,7 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/cloud-small.png" VerticalAlignment="Center"
HorizontalAlignment="Center" Height="10" />
HorizontalAlignment="Center" Height="13" />
<Label Content="Data" />
</StackPanel>
</TabItem.Header>
Expand Down Expand Up @@ -84,32 +85,34 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/flask.png" VerticalAlignment="Center" HorizontalAlignment="Center"
Height="10" />
Height="13" />
<Label Content="WIP" />
</StackPanel>
</TabItem.Header>
<Grid />
</TabItem>
</TabControl>
<TabControl HorizontalAlignment="Left" Width="209" BorderBrush="{x:Null}" Background="{x:Null}"
Grid.Row="0" Grid.RowSpan="2" Margin="0,0,0,25">
<TabItem x:Name="TbTest" BorderBrush="{x:Null}" Background="{x:Null}" Margin="-2,-2,2,-2.667"
<TabControl HorizontalAlignment="Left" Width="223" BorderBrush="{x:Null}" Background="{x:Null}"
Grid.Row="0" Grid.RowSpan="2" Margin="0,0,0,25.333">
<TabItem x:Name="TbTest" BorderBrush="{x:Null}" Background="{x:Null}" Margin="-2,-2,2,-2.333"
HorizontalAlignment="Right" Width="58" Padding="5,0,5,0">
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/stethoscope.png" VerticalAlignment="Center"
HorizontalAlignment="Center" Height="10" />
HorizontalAlignment="Center" Height="14" />
<Label Content="Test" />
</StackPanel>
</TabItem.Header>
<Grid >
<Grid>
<Button x:Name="BExtString" BorderBrush="#FFABADB3" Background="{x:Null}" Padding="5,0,5,0"
Click="BExtString_Click" HorizontalAlignment="Left" Width="183" Height="25"
VerticalAlignment="Top" Margin="10,10,0,0">
Click="BExtString_Click" HorizontalAlignment="Left" Width="183" Height="25"
VerticalAlignment="Top" Margin="10,10,0,0">
<Button.ToolTip>
<ToolTip>
<StackPanel>
<TextBlock><Run Text="Simple sample method to test."/></TextBlock>
<TextBlock>
<Run Text="Simple sample method to test." />
</TextBlock>
</StackPanel>
</ToolTip>
</Button.ToolTip>
Expand All @@ -124,7 +127,7 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/chevron-right.png" VerticalAlignment="Center"
HorizontalAlignment="Center" Height="10" />
HorizontalAlignment="Center" Height="14" />
<Label Content="Export" />
</StackPanel>
</TabItem.Header>
Expand Down Expand Up @@ -153,7 +156,7 @@
<TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Source="Resources/building.png" VerticalAlignment="Center" HorizontalAlignment="Center"
Height="10" />
Height="13" />
<Label Content="Project" />
</StackPanel>
</TabItem.Header>
Expand Down

0 comments on commit 8070ea3

Please sign in to comment.