Browse Source

Coding style.

Steven Kirk 10 years ago
parent
commit
66c0a50876
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/Gtk/Perspex.Cairo/Media/FormattedTextImpl.cs

+ 4 - 2
src/Gtk/Perspex.Cairo/Media/FormattedTextImpl.cs

@@ -12,6 +12,8 @@ namespace Perspex.Cairo.Media
 {
     public class FormattedTextImpl : IFormattedTextImpl
     {
+        private Size _size;
+
         public FormattedTextImpl(
             string text,
             string fontFamily,
@@ -34,7 +36,6 @@ namespace Perspex.Cairo.Media
             Layout.Alignment = textAlignment.ToCairo();
         }
 
-        private Size _size;
         public Size Constraint
         {
             get
@@ -52,7 +53,8 @@ namespace Perspex.Cairo.Media
 
         public Pango.Layout Layout
         {
-            get; }
+            get;
+        }
 
         public void Dispose()
         {