|
33 | 33 | <controls:EmptyListToVisibilityConverter x:Key="EmptyListToVisibilityConverter" />
|
34 | 34 | <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
35 | 35 |
|
| 36 | + <Style x:Key="PkgMngTextBlockStyle" TargetType="TextBlock"> |
| 37 | + <Setter Property="Width" Value="Auto" /> |
| 38 | + <Setter Property="Margin" Value="0 5" /> |
| 39 | + <Setter Property="HorizontalAlignment" Value="Stretch" /> |
| 40 | + <Setter Property="Background" Value="#2F2E30" /> |
| 41 | + <Setter Property="Foreground" Value="#EEEEEE" /> |
| 42 | + <Setter Property="FontFamily" Value="{StaticResource ArtifaktElementRegular}" /> |
| 43 | + <Setter Property="FontStyle" Value="Normal" /> |
| 44 | + <Setter Property="FontSize" Value="12px " /> |
| 45 | + <Setter Property="Focusable" Value="False" /> |
| 46 | + <Setter Property="Padding" Value="5 10"/> |
| 47 | + </Style> |
36 | 48 | <Style x:Key="PkgMngListBoxStyle" TargetType="ListBox">
|
37 | 49 | <Setter Property="Width" Value="Auto" />
|
38 | 50 | <Setter Property="Margin" Value="0 5" />
|
|
486 | 498 | Style="{StaticResource GenericToolTipLight}" />
|
487 | 499 | </Label.ToolTip>
|
488 | 500 | </Label>
|
489 |
| - <ListBox Grid.Row="1" |
| 501 | + <!-- Default download path --> |
| 502 | + <TextBlock Grid.Row="1" |
490 | 503 | x:Name="PackageDownloadDirectoryListBox"
|
491 |
| - Style="{DynamicResource PkgMngListBoxStyle}" |
492 |
| - ItemContainerStyle="{DynamicResource PkgMngListBoxItemStyle}" |
493 |
| - ItemsSource="{Binding Path=PackagePathsForInstall}" |
494 |
| - SelectedItem="{Binding Path=SelectedPackagePathForInstall}"> |
495 |
| - <ListBox.ToolTip> |
| 504 | + Style="{StaticResource PkgMngTextBlockStyle}" |
| 505 | + Text="{Binding Path=SelectedPackagePathForInstall, UpdateSourceTrigger=PropertyChanged}"> |
| 506 | + <TextBlock.ToolTip> |
496 | 507 | <ToolTip Content="{Binding Path=SelectedPackagePathForInstall}"
|
497 | 508 | Style="{StaticResource GenericToolTipLight}" />
|
498 |
| - </ListBox.ToolTip> |
499 |
| - </ListBox> |
| 509 | + </TextBlock.ToolTip> |
| 510 | + </TextBlock> |
500 | 511 |
|
501 | 512 | <Label Content="{x:Static p:Resources.PackagePathPreferencesTitle}"
|
502 | 513 | Padding="5,5,5,5"
|
|
0 commit comments