Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 6ef0a19

Browse files
committed
Use chromeless dialog with tool window border color
1 parent 8a6374e commit 6ef0a19

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/GitHub.VisualStudio.UI/Views/Dialog/GitHubDialogWindow.xaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,22 @@
2525
SnapsToDevicePixels="True"
2626
UseLayoutRounding="True"
2727
WindowStartupLocation="CenterOwner"
28+
WindowStyle="None"
29+
WindowState="Normal"
30+
ResizeMode="CanResize"
2831
Content="{Binding Content}">
32+
<WindowChrome.WindowChrome>
33+
<WindowChrome
34+
CaptionHeight="0"
35+
ResizeBorderThickness="5" />
36+
</WindowChrome.WindowChrome>
2937
<Window.Resources>
3038
<ResourceDictionary>
3139
<local:ViewLocator x:Key="viewLocator"/>
3240
<DataTemplate DataType="{x:Type ghfvs:ViewModelBase}">
33-
<ContentControl Content="{Binding Converter={StaticResource viewLocator}}"/>
41+
<Border BorderThickness="1" BorderBrush="{DynamicResource {x:Static vs:EnvironmentColors.ToolWindowBorderBrushKey}}">
42+
<ContentControl Content="{Binding Converter={StaticResource viewLocator}}"/>
43+
</Border>
3444
</DataTemplate>
3545
</ResourceDictionary>
3646
</Window.Resources>

0 commit comments

Comments
 (0)