Skip to content

Commit 7ee6327

Browse files
authored
Invisible Text Fix
1 parent 46fc92b commit 7ee6327

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

Bloxstrap/UI/Elements/Controls/OptionControl.xaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@
1010
mc:Ignorable="d"
1111
x:Name="Control"
1212
d:DesignHeight="450" d:DesignWidth="800">
13-
<ui:CardControl Margin="0,8,0,0" Content="{Binding InnerContent, ElementName=Control}">
14-
<ui:CardControl.Header>
15-
<StackPanel>
13+
<ui:Card Margin="0,8,0,0">
14+
<Grid>
15+
<Grid.ColumnDefinitions>
16+
<ColumnDefinition Width="*" />
17+
<ColumnDefinition Width="Auto" />
18+
</Grid.ColumnDefinitions>
19+
20+
<StackPanel Grid.Column="0" VerticalAlignment="Center">
1621
<Grid>
1722
<Grid.ColumnDefinitions>
1823
<ColumnDefinition Width="Auto" />
@@ -65,6 +70,8 @@
6570
</local:MarkdownTextBlock.Style>
6671
</local:MarkdownTextBlock>
6772
</StackPanel>
68-
</ui:CardControl.Header>
69-
</ui:CardControl>
73+
74+
<ContentControl Grid.Column="1" VerticalAlignment="Center" Margin="16,0,0,0" Content="{Binding InnerContent, ElementName=Control}" />
75+
</Grid>
76+
</ui:Card>
7077
</UserControl>

0 commit comments

Comments
 (0)