Results 1 to 40 of 123

Thread: The "What do you think of how my app looks" thread

Threaded View

  1. #25

    Thread Starter
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: The "What do you think of how my app looks" thread

    Nice I like the simple icons on the top right and that logon screen looks nice too. One thing I would suggest that you might not be aware of if you are new to WPF (and this only applies if you are targetting .NET 4.0). To make the text less blurry you can set the following property on each TextBlock element:
    Code:
    <TextBlock Text="Some Text" TextOptions.TextFormattingMode="Display">
    or you can use a Style to apply this to all TextBlock elements in the window, like so:

    Code:
    <Window.Resources>
            <Style TargetType="TextBlock">
                <Setter Property="TextOptions.TextFormattingMode" Value="Display" />
            </Style>
    </Window.Resources>
    and for Images you can use the following to make them a bit sharper (note that if your images are not the same size on your window as the actual image file is then this may make them appear a bit pixelated):
    Code:
    <Image Source="example" RenderOptions.BitmapScalingMode="NearestNeighbor">
    When testing these properties, never rely on the VS designer to give you an accurate representation of what the images/text will actually look like - run the program and see what it really looks like. The VS WPF designer is pretty poor in my opinion, it often displays things quite differently to how they actually look when you run the application.
    Last edited by chris128; Jul 24th, 2011 at 01:04 PM.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width