Skip to content

Commit

Permalink
very very very small fixes (forgot to push)
Browse files Browse the repository at this point in the history
  • Loading branch information
meetox80 committed Dec 12, 2023
1 parent d8054e9 commit be59be7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions zstio-tv/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@
</StackPanel>
</Grid>

<Grid Visibility="Collapsed" x:Name="handler_bar_banner" Height="100" Width="250" Margin="0,15,0,0">
<Grid Visibility="Visible" x:Name="handler_bar_banner" Height="250" Width="250" Margin="0,15,0,0">
<Rectangle RadiusX="10" RadiusY="10" Fill="#FF050505" Stroke="#FF272727">
<Rectangle.Effect>
<DropShadowEffect ShadowDepth="0" Direction="0" BlurRadius="15"/>
</Rectangle.Effect>
</Rectangle>

<StackPanel x:Name="handler_bar_banner_panel" Orientation="Horizontal" HorizontalAlignment="Center">
<Rectangle RadiusX="10" RadiusY="10" Width="230" Height="80">
<Rectangle RadiusX="10" RadiusY="10" Width="200" Height="200">
<Rectangle.Fill>
<ImageBrush x:Name="handler_bar_banner_panel_image" ImageSource="/Resources/zstio-splash.png"/>
<ImageBrush x:Name="handler_bar_banner_panel_image" Stretch="Fill" ImageSource="/Resources/zstio-splash.png"/>
</Rectangle.Fill>
</Rectangle>
</StackPanel>
Expand All @@ -95,8 +95,8 @@
</StackPanel>

<Grid x:Name="zstiofm_movementhandler" Margin="0,0,0,0">
<Image x:Name="handler_bar_zstiofm_image" Margin="0,0,0,-100" Width="298" Height="300" VerticalAlignment="Bottom"/>
<Rectangle Height="201" Width="298" VerticalAlignment="Bottom">
<Image x:Name="handler_bar_zstiofm_image" Margin="0,0,0,-100" Width="298" Height="200" Stretch="UniformToFill" VerticalAlignment="Bottom"/>
<Rectangle Height="100" Width="298" VerticalAlignment="Bottom">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#BF020202" Offset="1"/>
Expand All @@ -111,7 +111,7 @@
<Grid Width="200" HorizontalAlignment="Left">
<TextBlock Margin="5,0,0,0" x:Name="handler_bar_zstiofm_title" FontFamily="/Font/InterBold/#Inter" Foreground="White" FontSize="20" Text="Wczytywanie..."/>
</Grid>
<Label x:Name="handler_bar_zstiom_authors" FontFamily="/Font/InterBold/#Inter" Foreground="White" FontSize="15" Content="Wczytywanie aplikacji" Opacity="0.75" Margin="0,-7.5,0,0"/>
<Label x:Name="handler_bar_zstiofm_authors" FontFamily="/Font/InterBold/#Inter" Foreground="White" FontSize="15" Content="Wczytywanie aplikacji" Opacity="0.75" Margin="0,-7.5,0,0"/>
</StackPanel>
</Grid>
<Grid Width="96">
Expand Down
2 changes: 1 addition & 1 deletion zstio-tv/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private void SpotifyCurrentPlaying_Tick(object sender, EventArgs e)

// Set the text, authors, image of zstiofm.
handler_bar_zstiofm_title.Text = SongName;
handler_bar_zstiom_authors.Content = SongAuthors;
handler_bar_zstiofm_authors.Content = SongAuthors;

BitmapImage SongImageBitmap = new BitmapImage(new Uri(SongImage));
handler_bar_zstiofm_image.Source = SongImageBitmap;
Expand Down

0 comments on commit be59be7

Please sign in to comment.