google-code-export / mgwt

Automatically exported from code.google.com/p/mgwt
Other
1 stars 0 forks source link

MGWT Searchbox - dynamic input field width #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. go to mgwt showcase searchbox on Desktop or Android:
http://mobilegwt.appspot.com/showcase/#SearchBoxPlace:
2. tap inside the input field for entering a search term

What is the expected output? What do you see instead?

Expected:
The input field should be 100%-ca.40 pixels client width.

See instead:
A fixed input field width. See screenshots in attachment.

What version of the product are you using? On what operating system?
gwt 2.6
mgwt 1.2.0-SNAPSHOT
Android: Nexus5 current Chrome Browser

Please provide any additional information below.
Workaround:
Alter the theme for Desktop and Android and add something like this:
.mgwt-SearchBox-input {
   width: literal("calc(100% - 47px)");
}

Original issue reported on code.google.com by mlux...@gmail.com on 24 Mar 2014 at 11:12

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the input. This is now fixed in trunk!

Original comment by kurka.da...@gmail.com on 13 Jul 2014 at 4:35