Issue adapting the size of the panels