Gallery: resize rename field depending on its content.
commit3cc916da8400357424062ca1fe280134e8a7f573
authoryawano <yawano@chromium.org>
Fri, 7 Aug 2015 05:22:40 +0000 (6 22:22 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 05:23:37 +0000 (7 05:23 +0000)
tree0a8e8bcbf3cfc688ccb4807c99b5b5f40d247cc0
parent6ad125b073d3a9dacd28b88f9247d987aec882e1
Gallery: resize rename field depending on its content.

* Minimum width is 160px.
* Expands as its content becomes longer to the half of window width.

BUG=516468
TEST=none

Review URL: https://codereview.chromium.org/1265393004

Cr-Commit-Position: refs/heads/master@{#342296}
ui/file_manager/gallery/js/gallery.js