From e8b284a89c225a459d69d3c2bb561aa4bdb2a095 Mon Sep 17 00:00:00 2001 From: qianlifeng Date: Sun, 26 Jan 2014 17:47:58 +0800 Subject: [PATCH] change the scrollbar style. --- WinAlfred/ResultItem.xaml | 1 + WinAlfred/ResultPanel.xaml | 14 ++-- WinAlfred/Themes/Default.xaml | 130 ++++++++++++++++++++++++++-------- WinAlfred/Themes/Light.xaml | 97 +++++++++++++++++++++++-- 4 files changed, 199 insertions(+), 43 deletions(-) diff --git a/WinAlfred/ResultItem.xaml b/WinAlfred/ResultItem.xaml index a664b124ae..7d35b7a250 100644 --- a/WinAlfred/ResultItem.xaml +++ b/WinAlfred/ResultItem.xaml @@ -5,6 +5,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignWidth="400" + x:Name="resultItemControl" Style="{DynamicResource ItemStyle}" Height="50"> diff --git a/WinAlfred/ResultPanel.xaml b/WinAlfred/ResultPanel.xaml index 30f273803a..52e3497460 100644 --- a/WinAlfred/ResultPanel.xaml +++ b/WinAlfred/ResultPanel.xaml @@ -1,13 +1,11 @@  - - - - + + - + \ No newline at end of file diff --git a/WinAlfred/Themes/Default.xaml b/WinAlfred/Themes/Default.xaml index 92a27bc5e1..33e17dd46f 100644 --- a/WinAlfred/Themes/Default.xaml +++ b/WinAlfred/Themes/Default.xaml @@ -1,43 +1,117 @@ - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WinAlfred/Themes/Light.xaml b/WinAlfred/Themes/Light.xaml index 085bfac034..3fc48c9873 100644 --- a/WinAlfred/Themes/Light.xaml +++ b/WinAlfred/Themes/Light.xaml @@ -2,17 +2,17 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> @@ -25,19 +25,102 @@ + + + + + + + + + + + + + + + + + + + + + +