Page 1 of 1
select menu auto resizing
Posted: Mon Jan 28, 2013 1:20 pm
by Michael4771079
Hi,
in these screenshots when text is saved in selectmenu the menu resizes accordingly, how do I prevent this, it changes the ui
select menu auto resizing
Posted: Mon Jan 28, 2013 4:34 pm
by Kateryna Grynko
Hello,
It's a bug, we'll fix it.
For now, there is a workaround. You can create CSS with following code: code.ui-page .ui-select .ui-btn-inner {
white-space: normal;
}/code
This will fix problem on preview, but it will remain in the editor..
select menu auto resizing
Posted: Mon Jan 28, 2013 5:09 pm
by Michael4771079
Thank you Katya,
works perfectly as always!
select menu auto resizing
Posted: Mon Jan 28, 2013 5:10 pm
by Kateryna Grynko
Also you can crop long text using this CSS code:codetable.mobilegrid {
table-layout: fixed;
}/code
select menu auto resizing
Posted: Mon Jan 28, 2013 6:14 pm
by Michael4771079
cheers Katya,
nice trick.
works great, I prefer the other js, it keeps the ui uniform and displays all the text to the eu.
another thing thats bothering me, I have read about apple rejections for bad use of screen area.
When my app is displayed on 320x480 it looks ok, but when you go to larger phone like s3 here is alot of empty space at the bottom of the page, see screenshot.
I was wondering if there is a way to evenly spread out the components automatically depending on the size of screen?
select menu auto resizing
Posted: Mon Jan 28, 2013 6:18 pm
by Michael4771079
sorry, forget ss
select menu auto resizing
Posted: Tue Jan 29, 2013 8:51 am
by Maryna Brodina
Hello! This is how JQM works - components resizing only by width, not height
select menu auto resizing
Posted: Thu Feb 07, 2013 1:01 pm
by Michael4771079
Hi Marina,
I understand that JQM works like this, but is it possible with js to increase the space between the components vertically depending on the device screen size
thanking you in advance
Michael
select menu auto resizing
Posted: Thu Feb 07, 2013 1:05 pm
by Maryna Brodina
Hello! Yes, you can try to do that, but it's outside the scope of our support.
select menu auto resizing
Posted: Tue Feb 19, 2013 6:47 pm
by Maryna Brodina
Hello! This bug should be fixed already.