FileTransferWidget improvements

Improvements:
1. Image preview width limited to 100px.
2. Widget width is fitted for widget's content.