Permalink
Browse files

minor opts

  • Loading branch information...
1 parent 046ec08 commit 562bd28ed4ed2987f98c1092e28f5dc6d7d6fb3e @cail committed Feb 9, 2013
Showing with 13 additions and 2 deletions.
  1. +2 −2 Fleux/Android/DoubleBufferedControl.cs
  2. +11 −0 Fleux/UIElements/UIElement.cs
View
4 Fleux/Android/DoubleBufferedControl.cs
@@ -256,8 +256,8 @@ public void Activate()
// AndroidView in java may occasionally be already dead!
try{
AndroidView.PostInvalidate();
- }catch(Exception){
- //
+ }catch(Exception e){
+ System.Console.WriteLine(e.StackTrace);
}
AndroidView.updcntinval++;
}
View
11 Fleux/UIElements/UIElement.cs
@@ -89,6 +89,17 @@ public int Width
}
}
+ public int Height
+ {
+ get{
+ return Size.Height;
+ }
+
+ set{
+ this.Size = new Size(Size.Height, value);
+ }
+ }
+
public double TransformationScaling { get; set; }
public Point TransformationCenter { get; set; }

0 comments on commit 562bd28

Please sign in to comment.