This will set the alignment according to the components alignment otherwise LEFT, MIDDLE author: Robin Sharp