Personally, i like to use grids.
Place a grid in the canvas, maximize it, set the number of colums to three, set the relative widths to something like: 1:5:1 and place the content (for example a panel component) in the middle cell and maximize that as well. Now, no matter what screensize or resolution, your mid-section is always centered,