Restrict maximum width of file tree view panel to avoid clipped UI

@gaurave 

Fixes #2527