mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-15 04:39:07 +00:00
Bring back transparent window
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
VirtualizingPanel.IsVirtualizing="True" Width="150"
|
||||
SelectedIndex="0"
|
||||
Focusable="False"
|
||||
Background="#00FFFFFF"
|
||||
Background="Transparent"
|
||||
ItemsSource="{Binding PageThumbnails, ElementName=thisPdfViewer}"
|
||||
ScrollViewer.HorizontalScrollBarVisibility="Disabled" BorderThickness="0,0,1,0"
|
||||
ItemContainerStyle="{Binding Mode=OneWay, Source={StaticResource ListBoxItemStyleNoFocusedBorder}}">
|
||||
@@ -61,7 +61,7 @@
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
<Grid Grid.Column="1" Background="#00EFEFEF">
|
||||
<Grid Grid.Column="1" Background="#FFFAFAFA">
|
||||
<imageViewer:ImagePanel x:Name="pagePanel" RenderMode="NearestNeighbor" ShowZoomLevelInfo="False"
|
||||
BackgroundVisibility="Collapsed" MetaIconVisibility="Collapsed" />
|
||||
</Grid>
|
||||
|
@@ -7,10 +7,9 @@
|
||||
xmlns:local="clr-namespace:QuickLook.Plugin.TextViewer"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="317.974"
|
||||
d:DesignWidth="448.79"
|
||||
UseLayoutRounding="True">
|
||||
d:DesignWidth="448.79">
|
||||
<Grid>
|
||||
<avalonEdit:TextEditor x:Name="viewer" Background="#00FFFFFF" FontSize="14" ShowLineNumbers="True"
|
||||
<avalonEdit:TextEditor x:Name="viewer" Background="Transparent" FontSize="14" ShowLineNumbers="True"
|
||||
WordWrap="True" IsReadOnly="True" IsManipulationEnabled="True" />
|
||||
</Grid>
|
||||
</UserControl>
|
@@ -21,8 +21,9 @@
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Grid>
|
||||
<ffme:MediaElement x:Name="mediaElement" />
|
||||
<Grid x:Name="coverArtPersenter" ClipToBounds="True" Background="{StaticResource MainWindowBackground}">
|
||||
<ffme:MediaElement x:Name="mediaElement" Background="{DynamicResource MainWindowBackgroundNoTransparent}" />
|
||||
<Grid x:Name="coverArtPersenter" ClipToBounds="True"
|
||||
Background="{DynamicResource MainWindowBackgroundNoTransparent}">
|
||||
<Grid.Style>
|
||||
<Style TargetType="Grid">
|
||||
<Setter Property="Visibility" Value="Collapsed" />
|
||||
@@ -178,8 +179,8 @@
|
||||
</TextBlock>
|
||||
</Button>
|
||||
<Slider x:Name="sliderProgress" Style="{StaticResource PositionSliderStyle}"
|
||||
SmallChange="{Binding FrameStepDuration, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}"
|
||||
LargeChange="{Binding FrameStepDuration, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}"
|
||||
SmallChange="{Binding FrameStepDuration, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}"
|
||||
LargeChange="{Binding FrameStepDuration, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}"
|
||||
Maximum="{Binding NaturalDuration, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}"
|
||||
Value="{Binding Position, ElementName=mediaElement, Converter={StaticResource TimeSpanToSecondsConverter}}" />
|
||||
</DockPanel>
|
||||
@@ -187,7 +188,7 @@
|
||||
<Grid x:Name="volumeSliderLayer" Background="Transparent" Visibility="Collapsed">
|
||||
<Grid Height="32" Width="130" HorizontalAlignment="Right" VerticalAlignment="Bottom"
|
||||
Background="{DynamicResource CaptionButtonHoverBackground}" Margin="0,0,0,32">
|
||||
<Slider Style="{StaticResource CustomSliderStyle}" Width="110" Maximum="1"
|
||||
<Slider Style="{StaticResource CustomSliderStyle}" Width="110" Maximum="1"
|
||||
Value="{Binding ElementName=mediaElement, Path=Volume}" />
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
Reference in New Issue
Block a user