commit | 2e4f426bbc3bad62d2c30109a5370c2026b3df36 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Tue Apr 06 11:07:52 2010 -0700 |
committer | Romain Guy <romainguy@google.com> | Tue Apr 06 11:07:52 2010 -0700 |
tree | 1cb6b20fccecde522f12c12d1586196f49fc6de6 | |
parent | 7d2511b722808dfc9cadd3f0f49375fcb738df56 [diff] |
Correctly resize dialogs when measured in WRAP_CONTENT Bug #2549649 If the window had a different size than its content but the content had already been measured with the appropriate size, the window would not be resized. This happens in wrap_content windows (dialogs.) This change simply adds a new codition to window resizing: if the window is wrap_content, not as big as it can be and not as big as its content, it gets resized. Change-Id: I1d82d03af5a15c9ad8dffa0511d5f6d522578285