Skip to content

Commit

Permalink
Fixed blurry rendering of Awesomium, a bit of extra styling to make i…
Browse files Browse the repository at this point in the history
…t match the rest of the app.
  • Loading branch information
aeoth committed Jan 5, 2012
1 parent a17abc7 commit b11bb0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/MarkPad/AppBootstrapper.cs
Expand Up @@ -58,7 +58,8 @@ private void SetAwesomiumDefaults()
{
var c = new Awesomium.Core.WebCoreConfig
{
CustomCSS = @"::-webkit-scrollbar { width: 12px; height: 20px; }
CustomCSS = @"body { font-family: Segoe UI, sans-serif; font-size:0.8em;}
::-webkit-scrollbar { width: 12px; height: 20px; }
::-webkit-scrollbar-track { background-color: white; }
::-webkit-scrollbar-thumb { background-color: #B9B9B9; }
::-webkit-scrollbar-thumb:hover { background-color: #000000; }",
Expand Down
2 changes: 1 addition & 1 deletion src/MarkPad/Document/DocumentView.xaml
Expand Up @@ -523,7 +523,7 @@
</avalonedit:TextEditor.Effect>
</avalonedit:TextEditor>

<awe:WebControl Margin="10,10,10,-5" Grid.Column="1" HorizontalAlignment="Stretch" shared:WebBrowserUtility.BindableContent="{Binding Render}">
<awe:WebControl UseLayoutRounding="True" Margin="10,10,10,-5" Grid.Column="1" HorizontalAlignment="Stretch" shared:WebBrowserUtility.BindableContent="{Binding Render}">
<awe:WebControl.Effect>
<DropShadowEffect BlurRadius="10" Color="Black" Opacity="0.25" Direction="270" />
</awe:WebControl.Effect>
Expand Down

0 comments on commit b11bb0b

Please sign in to comment.