mirror of
https://github.com/leiurayer/downkyi.git
synced 2024-04-21 12:41:55 +00:00
微调UI
This commit is contained in:
@@ -86,6 +86,8 @@ namespace DownKyi.Services
|
||||
|
||||
// 时长
|
||||
page.Duration = Format.FormatDuration(playUrl.Dash.Duration);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -694,18 +694,33 @@
|
||||
<!-- 考虑将下列两个选项移入设置页面 -->
|
||||
<!--<CheckBox Grid.Column="1" Content="自动解析" IsChecked="False" Foreground="{DynamicResource BrushTextDark}" Style="{StaticResource CheckBoxStyle}" Margin="0 10 0 0" VerticalAlignment="Top" HorizontalAlignment="Left"/>
|
||||
<CheckBox Grid.Column="2" Content="解析后自动下载所有" IsChecked="False" Foreground="{DynamicResource BrushTextDark}" Style="{StaticResource CheckBoxStyle}" Margin="0 10 0 0" VerticalAlignment="Top" HorizontalAlignment="Left"/>-->
|
||||
<TextBox Grid.Column="3" HorizontalAlignment="Left" Height="20" TextWrapping="Wrap" VerticalAlignment="Top" Width="140" Margin="48,0,0,0"
|
||||
Text="{Binding Path=InputSearchText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}">
|
||||
|
||||
<Label
|
||||
Grid.Column="3"
|
||||
Margin="9,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Content="{DynamicResource Search}" />
|
||||
<TextBox
|
||||
Grid.Column="3"
|
||||
Width="200"
|
||||
Height="25"
|
||||
Margin="48,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
VerticalContentAlignment="Center"
|
||||
Text="{Binding Path=InputSearchText, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
||||
TextWrapping="Wrap">
|
||||
<TextBox.InputBindings>
|
||||
<KeyBinding Key="Enter" Command="{Binding InputSearchCommand}" />
|
||||
</TextBox.InputBindings>
|
||||
<TextBox.Resources>
|
||||
<VisualBrush
|
||||
x:Key="HintText"
|
||||
AlignmentX="Left"
|
||||
Opacity="0.5"
|
||||
Stretch="None"
|
||||
TileMode="None">
|
||||
x:Key="HintText"
|
||||
AlignmentX="Left"
|
||||
Opacity="0.5"
|
||||
Stretch="None"
|
||||
TileMode="None">
|
||||
<VisualBrush.Visual>
|
||||
<TextBlock Text="{DynamicResource SearchVideoByName}" />
|
||||
</VisualBrush.Visual>
|
||||
@@ -724,6 +739,7 @@
|
||||
</Style>
|
||||
</TextBox.Style>
|
||||
</TextBox>
|
||||
|
||||
<Button
|
||||
Grid.Column="4"
|
||||
HorizontalAlignment="Right"
|
||||
@@ -742,7 +758,6 @@
|
||||
FontSize="12"
|
||||
Foreground="{DynamicResource BrushText}"
|
||||
Style="{StaticResource BtnStyle}" />
|
||||
<Label Content="{DynamicResource Search}" Grid.Column="3" HorizontalAlignment="Left" Margin="9,-2,0,0" VerticalAlignment="Top"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user