Lines Matching defs:layout
42 wxLayoutConstraints* layout;
47 layout = new wxLayoutConstraints;
48 layout->left.SameAs(this, wxLeft, 10);
49 layout->top.SameAs(this, wxTop, 10);
50 layout->height.AsIs();
51 layout->width.Absolute(75);
52 m_Label1->SetConstraints(layout);
61 layout = new wxLayoutConstraints;
62 layout->left.SameAs(m_Label1, wxRight, 10);
63 layout->centreY.SameAs(m_Label1,wxCentreY);
64 layout->width.Absolute(200);
65 layout->height.Absolute(chSize);
66 // layout->height.AsIs();
67 m_UserName->SetConstraints(layout);
72 layout = new wxLayoutConstraints;
73 layout->left.SameAs(m_Label1, wxLeft);
74 layout->top.SameAs(m_Label1, wxBottom, 10);
75 layout->height.AsIs();
76 layout->width.SameAs(m_Label1, wxWidth);
77 m_Label2->SetConstraints(layout);
81 layout = new wxLayoutConstraints;
82 layout->left.SameAs(m_UserName, wxLeft);
83 layout->width.SameAs(m_UserName, wxWidth);
84 layout->centreY.SameAs(m_Label2,wxCentreY);
85 layout->height.Absolute(chSize);
86 //layout->height.AsIs();
87 m_Password->SetConstraints(layout);
91 layout = new wxLayoutConstraints;
92 layout->left.SameAs(this, wxLeft, 10);
93 layout->top.SameAs(m_Label2, wxBottom,10);
94 layout->height.AsIs();
95 layout->width.Absolute(75);
96 m_OK->SetConstraints(layout);
100 layout = new wxLayoutConstraints;
101 layout->left.SameAs(m_OK, wxRight, 10);
102 layout->top.SameAs(m_OK, wxTop);
103 layout->height.AsIs();
104 layout->width.SameAs(m_OK, wxWidth);
105 m_Cancel->SetConstraints(layout);