diff options
author | Eric Maupin <me@ermau.com> | 2018-12-11 00:31:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-11 00:31:52 +0300 |
commit | cd248d8fa5306f3ab05fabc72d6e869dd616ba9a (patch) | |
tree | 4004328456726e0ec3d3d237a2ad656e2c56fa82 | |
parent | c8811766733ee7dc221fba7ae8994dbd8539de43 (diff) | |
parent | 69f4102e2a914de7243ae44de8662ec4a6f3e1e2 (diff) |
Merge pull request #472 from xamarin/dominique-FixGroupedAlignment
[Mac] Quick fix for Brush Alignment.
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/GroupEditorControl.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/GroupEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/GroupEditorControl.cs index 2089986..03f2662 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/GroupEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/GroupEditorControl.cs @@ -144,8 +144,8 @@ namespace Xamarin.PropertyEditing.Mac { if (!this.resized) { var cols = tableView.TableColumns (); - cols[0].Width = tableView.Bounds.Width / 2; - cols[1].Width = tableView.Bounds.Width / 2; + cols[0].Width = (tableView.Frame.Width + 45) * Mac.Layout.GoldenRatioLeft; + cols[1].Width = tableView.Frame.Width - cols[0].Width; this.resized = true; } |