Work around Mono anchoring bug.

This commit is contained in:
jdpurcell
2008-10-19 18:32:33 +00:00
parent 9f58e03075
commit 568c26abfe
2 changed files with 2 additions and 3 deletions

View File

@@ -12,7 +12,9 @@ namespace JDP
public frmReport() public frmReport()
{ {
InitializeComponent(); InitializeComponent();
txtReport.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
} }
public string Message { public string Message {
get { return txtReport.Text; } get { return txtReport.Text; }
set { txtReport.Text = value; } set { txtReport.Text = value; }

View File

@@ -147,9 +147,6 @@
<data name="&gt;&gt;btnClose.ZOrder" xml:space="preserve"> <data name="&gt;&gt;btnClose.ZOrder" xml:space="preserve">
<value>1</value> <value>1</value>
</data> </data>
<data name="txtReport.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Top, Bottom, Left, Right</value>
</data>
<data name="txtReport.Font" type="System.Drawing.Font, System.Drawing"> <data name="txtReport.Font" type="System.Drawing.Font, System.Drawing">
<value>Courier New, 8.25pt</value> <value>Courier New, 8.25pt</value>
</data> </data>