1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-26 06:49:19 +00:00

Tweak header letter position

This feels like Doing It Wrong, but some of the letters just don't
look centered over their radio buttons.  Nudge them a pixel.
This commit is contained in:
Andy McFadden 2019-06-21 15:31:14 -07:00
parent 34e6a2a086
commit 440deda743

View File

@ -46,7 +46,7 @@ limitations under the License.
use a StackPanel with one of each to make the buttons line up with the labels. use a StackPanel with one of each to make the buttons line up with the labels.
Unfortunately this foils the automatic grouping. --> Unfortunately this foils the automatic grouping. -->
<StackPanel Margin="8,0,0,0"> <StackPanel Margin="8,0,0,0">
<TextBlock HorizontalAlignment="Center" FontSize="16">N</TextBlock> <TextBlock HorizontalAlignment="Center" FontSize="16" Margin="-1,0,0,0">N</TextBlock>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<RadioButton Name="radioNDefault" GroupName="N" Margin="{StaticResource Spacer}"/> <RadioButton Name="radioNDefault" GroupName="N" Margin="{StaticResource Spacer}"/>
<TextBlock Margin="{StaticResource Spacer}"/> <TextBlock Margin="{StaticResource Spacer}"/>
@ -147,7 +147,7 @@ limitations under the License.
</StackPanel> </StackPanel>
<StackPanel Margin="8,0,0,0"> <StackPanel Margin="8,0,0,0">
<TextBlock FontSize="16" HorizontalAlignment="Center">I</TextBlock> <TextBlock FontSize="16" HorizontalAlignment="Center" Margin="-1,0,0,0">I</TextBlock>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<RadioButton Name="radioIDefault" GroupName="I" Margin="{StaticResource Spacer}"/> <RadioButton Name="radioIDefault" GroupName="I" Margin="{StaticResource Spacer}"/>
<TextBlock Margin="{StaticResource Spacer}"/> <TextBlock Margin="{StaticResource Spacer}"/>
@ -207,7 +207,7 @@ limitations under the License.
</StackPanel> </StackPanel>
<StackPanel Name="panelE" Margin="16,0,0,0"> <StackPanel Name="panelE" Margin="16,0,0,0">
<TextBlock HorizontalAlignment="Center" FontSize="16">E</TextBlock> <TextBlock HorizontalAlignment="Center" FontSize="16" Margin="-1,0,0,0">E</TextBlock>
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<RadioButton Name="radioEDefault" GroupName="E" Margin="{StaticResource Spacer}"/> <RadioButton Name="radioEDefault" GroupName="E" Margin="{StaticResource Spacer}"/>
<TextBlock Margin="{StaticResource Spacer}"/> <TextBlock Margin="{StaticResource Spacer}"/>