medLayerListWidget created to have a layer list widget resizing itself
to its content