Make the settingsItem folow the window resizing