Position widgets in according to their database coordinates.