Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

select menu auto resizing

Hi,
in these screenshots when text is saved in selectmenu the menu resizes accordingly, how do I prevent this, it changes the ui

Image Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

select menu auto resizing

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..

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

select menu auto resizing

Thank you Katya,

works perfectly as always!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

select menu auto resizing

Also you can crop long text using this CSS code:codetable.mobilegrid {
table-layout: fixed;
}/code

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

select menu auto resizing

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?

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

select menu auto resizing

sorry, forget ss

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

select menu auto resizing

Hello! This is how JQM works - components resizing only by width, not height

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

select menu auto resizing

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

select menu auto resizing

Hello! Yes, you can try to do that, but it's outside the scope of our support.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

select menu auto resizing

Hello! This bug should be fixed already.

Return to “Issues”