Skip to content

Commit

Permalink
Added border for Color Displayer (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Feb 21, 2024
1 parent ea6b57b commit 95e66da
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion ColorPicker/Pages/ImageExtractorPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,43 @@
FontWeight="Bold"
Foreground="{DynamicResource WindowButtonsHoverForeground1}"
Style="{DynamicResource PrimaryButton}" />
<StackPanel x:Name="ColorDisplayer" Grid.Row="4" />
<Border
Grid.Row="4"
Margin="0 5 0 0"
Padding="5"
Background="{DynamicResource Background1}"
CornerRadius="10">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50" />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>

<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>

<TextBlock
Grid.Column="1"
Margin="15 5"
VerticalAlignment="Center"
FontWeight="Bold"
Text="{x:Static lang:Resources.Color}" />
<TextBlock
Grid.Column="2"
Margin="5"
VerticalAlignment="Center"
FontWeight="Bold"
Text="{x:Static lang:Resources.Frequence}" />

<StackPanel
x:Name="ColorDisplayer"
Grid.Row="1"
Grid.ColumnSpan="3" />
</Grid>
</Border>

<Popup
x:Name="OptionsPopup"
Expand Down

0 comments on commit 95e66da

Please sign in to comment.