Prevent crash on Linux/Mac introduced in 0.80

This commit is contained in:
miguel
2020-04-13 13:45:27 -04:00
parent 72403fbd21
commit ad8461d6af
3 changed files with 19 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ExternalConsole>true</ExternalConsole>
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<Optimize>true</Optimize>

View File

@@ -512,6 +512,18 @@ static class Demo {
});
win.Add (drag, dragText);
#if false
var label = new Label ("Fitler") {
X = 2
};
var spacing = 20;
var button = new Button ("apply") {
X = Pos.Right (label) + spacing + 2,
Y = 0
};
#endif
top.Add (win);
//top.Add (menu);