made some modifications related to deprecated builders and calculation of min-, max- and prefsize in control skins