|
759 | 759 | <TabItem Header="Tools" Style="{DynamicResource TabItemStyle1}" Padding="0,0,0,0" Margin="-1,1,1,-1" BorderBrush="{x:Null}" Background="Black">
|
760 | 760 | <Grid>
|
761 | 761 | <Grid.RowDefinitions>
|
762 |
| - <RowDefinition Height="15*" /> |
| 762 | + <RowDefinition Height="124" /> |
763 | 763 | <RowDefinition Height="50*" />
|
764 | 764 | </Grid.RowDefinitions>
|
765 | 765 | <!-- 1st part -->
|
766 | 766 | <Grid Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Left">
|
767 |
| - <StackPanel Orientation="Vertical" Margin="10"> |
768 |
| - <Border HorizontalAlignment="Left" VerticalAlignment="Top"> |
769 |
| - <StackPanel Orientation="Horizontal" Margin="10"> |
| 767 | + <StackPanel Orientation="Vertical" Margin="10" VerticalAlignment="Top"> |
| 768 | + <Border VerticalAlignment="Top" Height="50" HorizontalAlignment="Left"> |
| 769 | + <StackPanel Orientation="Horizontal" Margin="0,10,10,10" VerticalAlignment="Top" Width="560"> |
770 | 770 | <Label Content="Folders" Foreground="{DynamicResource ThemeButtonForeground}" />
|
771 | 771 | <Button Style="{StaticResource CustomButton}" x:Name="btnOpenEditorLogsFolder" Margin="0" BorderBrush="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top" Click="BtnOpenEditorLogsFolder_Click" ToolTip="Browse Editor logs folder">
|
772 | 772 | <Label Content="_Editor Logs" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" />
|
|
782 | 782 | </Button>
|
783 | 783 | </StackPanel>
|
784 | 784 | </Border>
|
785 |
| - <Border HorizontalAlignment="Left" VerticalAlignment="Top"> |
786 |
| - <StackPanel Orientation="Horizontal" Margin="10"> |
787 |
| - <Label Content="Tools" Foreground="{DynamicResource ThemeButtonForeground}" /> |
788 |
| - <Button Style="{StaticResource CustomButton}" x:Name="btnOpenADBLogCat" Margin="10,0,0,0" BorderBrush="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top" Click="BtnOpenADBLogCat_Click" ToolTip="Start ADB logcat commandline"> |
789 |
| - <Label Content="_ADB logcat" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
790 |
| - </Button> |
791 |
| - <Button Style="{StaticResource CustomButton}" x:Name="btnAdbBindWifi" Margin="10,0,0,0" BorderBrush="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top" Click="BtnAdbBindWifi_Click" IsEnabled="False" ToolTip="Bind Android device to wireless ADB"> |
792 |
| - <Label Content="_Bind Wifi" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
793 |
| - </Button> |
794 |
| - </StackPanel> |
795 |
| - </Border> |
| 785 | + <!--adb args textbox--> |
| 786 | + <!--<Border VerticalAlignment="Top" Height="40">--> |
| 787 | + <StackPanel Orientation="Horizontal" Margin="2" VerticalAlignment="Top"> |
| 788 | + <Label Content="Tools" Foreground="{DynamicResource ThemeButtonForeground}" /> |
| 789 | + <Button Style="{StaticResource CustomButton}" x:Name="btnOpenADBLogCat" Margin="10,0,0,0" BorderBrush="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top" Click="BtnOpenADBLogCat_Click" ToolTip="Start ADB logcat commandline"> |
| 790 | + <Label Content="_ADB logcat" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
| 791 | + </Button> |
| 792 | + <!--<StackPanel Orientation="Horizontal">--> |
| 793 | + <Label Content="Args:" Foreground="{DynamicResource ThemeButtonForeground}" HorizontalAlignment="Left" VerticalAlignment="Top" VerticalContentAlignment="Center" Margin="0,1,0,-4" /> |
| 794 | + <Grid Background="{DynamicResource ThemeTextBoxBackground}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,5,0,0" Height="20" > |
| 795 | + <TextBox Width="420" Text="-s Unity ActivityManager PackageManager dalvikvm DEBUG -v color" CaretBrush="{DynamicResource ThemeSearchCaret}" x:Name="txtLogCatArgs" Background="Transparent" BorderBrush="{x:Null}" Foreground="{DynamicResource ThemeSearchForeground}" SelectionBrush="{DynamicResource ThemeSearchSelection}" BorderThickness="0" Margin="2,2,0,0" UndoLimit="32" TextChanged="TxtLogCatArgs_TextChanged" /> |
| 796 | + </Grid> |
| 797 | + <!--</StackPanel>--> |
| 798 | + <Button Style="{StaticResource CustomButton}" x:Name="btnResetLogCatArgs" Margin="10,0,0,0" BorderBrush="{x:Null}" HorizontalAlignment="Left" VerticalAlignment="Top" ToolTip="Reset to default logcat args" Click="BtnResetLogCatArgs_Click"> |
| 799 | + <Label Content="Reset" Foreground="{Binding Path=Foreground, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Control}}}" /> |
| 800 | + </Button> |
| 801 | + </StackPanel> |
| 802 | + |
| 803 | + <!--</Border>--> |
| 804 | + |
796 | 805 | </StackPanel>
|
797 | 806 | </Grid>
|
798 | 807 | <!-- 2nd part -->
|
|
0 commit comments