<p>Instead of arranging controls on a winform form by specifying pixel locations, I'd like to lay it out similar to the way you'd layout a form in html. This would make it scale better  (for larger fonts etc).</p>

<p>Does anyone know of a layout library that allows you to define the form in xml and lay it out similar to html?</p>

[{'answer_id': 49566, 'author': 'Patrik Svensson', 'author_id': 936, 'author_profile': 'https://Stackoverflow.com/users/936', 'pm_score': 2, 'selected': False, 'text': '<p>Have you checked out the <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.tablelayoutpanel.aspx" rel="nofollow noreferrer">TableLayoutPanel</a> and <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.flowlayoutpanel.aspx" rel="nofollow noreferrer">FlowLayoutPanel</a> in the .NET framework? It might be what you are looking for.</p>\n'}, {'answer_id': 49573, 'author': 'Quibblesome', 'author_id': 1143, 'author_profile': 'https://Stackoverflow.com/users/1143', 'pm_score': 2, 'selected': False, 'text': '<p>Not sure there is anything perfect for this.</p>\n\n<p>MyXAML was kicking about a few years ago that enabled you to add forms in XML as opposed to embedding them into the binary. Not sure if that project is dead or not.</p>\n\n<p>WinForm does have the flow layout control already</p>\n\n<p>However if you want to do this kind of thing properly I think the only answer is to move to WPF.</p>\n'}, {'answer_id': 49574, 'author': 'Simon Steele', 'author_id': 4591, 'author_profile': 'https://Stackoverflow.com/users/4591', 'pm_score': 0, 'selected': False, 'text': '<p>You may also want to consider using Windows Presentation Foundation (WPF) instead of WinForms - WPF has an XML declarative markup language (XAML) that works well for defining scalable UI.</p>\n'}, {'answer_id': 49579, 'author': 'ageektrapped', 'author_id': 631, 'author_profile': 'https://Stackoverflow.com/users/631', 'pm_score': 2, 'selected': False, 'text': "<p>Yeah, it's called WPF :)</p>\n\n<p>Seriously, there are some newer panel types in WinForms 2.0 that will let you place controls without setting Location and Size. They are FlowLayoutPanel and TableLayoutPanel.</p>\n\n<p>You should also look into the AutoSize property. It takes care of sizing when the value of the label, say, changes. Also, don't forget about Docking and Anchoring.</p>\n\n<p>Once you master those concepts, writing a little parser that converts from XML to controls shouldn't be that hard if you feel you really need it.</p>\n"}, {'answer_id': 50781, 'author': 'dan gibson', 'author_id': 4495, 'author_profile': 'https://Stackoverflow.com/users/4495', 'pm_score': 0, 'selected': False, 'text': "<p>I've already got something like MyXAML - my screens are loaded from xml files already. It suffers the same problem as MyXAML which is that you still have to position the controls with pixel positions whereas I want something like html with the automatic flow and tables and such.</p>\n\n<p>I think TableLayoutPanel might be what I'm looking for.</p>\n"}, {'answer_id': 360262, 'author': 'chrishawn', 'author_id': 28681, 'author_profile': 'https://Stackoverflow.com/users/28681', 'pm_score': 0, 'selected': False, 'text': '<p>The only one I know of is a 3rd party from DevExpress called the <a href="http://www.devexpress.com/Products/NET/Controls/WinForms/Layout/" rel="nofollow noreferrer">LayoutControl</a>.. </p>\n'}]
['https://Stackoverflow.com/questions/49559', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4495/']