|
59 | 59 | <RowDefinition Height="*" />
|
60 | 60 | <RowDefinition Height="40" />
|
61 | 61 | </Grid.RowDefinitions>
|
62 |
| - <StackPanel Background="White"> |
| 62 | + <DockPanel Dock="Top" Background="White"> |
| 63 | + <StackPanel> |
| 64 | + |
63 | 65 | <Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ExtractInterface_TitleLabel}" FontWeight="Bold" />
|
64 | 66 | <TextBlock Text="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ExtractInterface_InstructionLabel}"
|
65 | 67 | Margin="5,0" />
|
66 |
| - </StackPanel> |
67 |
| - <StackPanel Grid.Row="1" Margin="5,0"> |
68 |
| - <Grid VerticalAlignment="Top" Margin="0,0,5,0"> |
69 |
| - <Grid.RowDefinitions> |
70 |
| - <RowDefinition Height="auto" /> |
71 |
| - <RowDefinition Height="auto" /> |
72 |
| - </Grid.RowDefinitions> |
| 68 | + </StackPanel> |
| 69 | + </DockPanel> |
| 70 | + <Grid Grid.Row="1" Margin="5"> |
| 71 | + <Grid.RowDefinitions> |
| 72 | + <RowDefinition Height="Auto" /> |
| 73 | + <RowDefinition Height="*" /> |
| 74 | + </Grid.RowDefinitions> |
| 75 | + <StackPanel Grid.Row="0"> |
73 | 76 | <Label Content="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=NameLabelText}" />
|
74 |
| - <TextBox Grid.Row="1" |
75 |
| - Margin="5,-2,0,0" |
| 77 | + <TextBox Margin="5,-2,0,0" |
76 | 78 | Height="22"
|
77 | 79 | VerticalAlignment="Top"
|
78 | 80 | VerticalContentAlignment="Center"
|
79 | 81 | Text="{Binding InterfaceName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
80 |
| - <Image Grid.Row="1" |
81 |
| - Source="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/cross-circle.png" |
| 82 | + <Image Source="pack://application:,,,/Rubberduck.Resources;component/Icons/Fugue/cross-circle.png" |
82 | 83 | Height="16"
|
83 | 84 | Margin="0,-10,-8,0"
|
84 | 85 | HorizontalAlignment="Right"
|
85 | 86 | VerticalAlignment="Top"
|
86 | 87 | Visibility="{Binding IsValidInterfaceName, Converter={StaticResource BoolToHiddenVisibility}}"/>
|
87 |
| - </Grid> |
| 88 | + </StackPanel> |
88 | 89 |
|
89 | 90 | <GroupBox Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=ExtractInterface_MembersGroupBox}"
|
90 |
| - Margin="5"> |
| 91 | + Grid.Row="1" Margin="5" Padding="5"> |
91 | 92 | <Grid>
|
92 | 93 | <Grid.ColumnDefinitions>
|
93 | 94 | <ColumnDefinition Width="*" />
|
|
146 | 147 | </StackPanel>
|
147 | 148 | </Grid>
|
148 | 149 | </GroupBox>
|
149 |
| - </StackPanel> |
| 150 | + </Grid> |
| 151 | + |
150 | 152 | <Grid Grid.Row="2" Background="{x:Static SystemColors.ControlDarkBrush}" Grid.IsSharedSizeScope="True">
|
151 | 153 | <Grid HorizontalAlignment="Right"
|
152 | 154 | Margin="5,0">
|
|
0 commit comments