res:dock:: fix some style problem.

1. img is not horizontal center.
2. window title is to long when windows is too many.

Change-Id: I38797af7665f34df055e6be9620ddda6f0b81597