Chapter 4. Layout Management
As you can see from the previous chapters, ThinWire greatly simplifies Web application development. Assembling a simple form is as easy as creating a
Components, and placing the
Components on the
Panel, provided you specify the exact positions and sizes (in pixels) where you want to place the
Components. Unfortunately, by bringing the desktop development model to the Web, we’ve also brought along the frustrations of calculating fixed pixel coordinates.
It starts out simple enough. You can make some basic assumptions about sizes and spacing between the
Components, and do the calculations as you add a new
Component. But what happens when you need to insert a
Component in the middle of your form? Just ...