Combo box dropdown paddle oversized on iphone 5  

This forum is fully dedicated to Panotour / Panotour Pro bug reports as well as feature discussion.
no avatar
bob1010
Member
 
Topic author
Posts: 138
Likes: 0 post
Liked in: 3 posts
Joined: Wed Jul 25, 2012 3:28 pm
Info

Combo box dropdown paddle oversized on iphone 5

by bob1010 » Mon May 16, 2016 3:37 pm

Hi Benjamin,

Just done a test in 2.5.3 with the combobox & have spotted a small issue with the drop down paddle size on my iphone. The paddle is the correct size on PC in all browsers I tested, including Windows 10 Edge browser (PC tested not mobile or tablet) but the drop down paddle appears oversized on my iphone 5s in Safari compared to the sizes of the combo box. I ticked the option not to resize the plug-ins for mobile devices, the thumbnails are the correct size & the actual combobox is correct, it's just when you click the box that the drop down itself is oversized.

Here is the test: http://www.irisimage.com/360-degree-gal ... build.html

Can that be fix for the next release, is the workaround to replace the following code as before?:

CODE: SELECT ALL
itemfontsize.normal="14"
itempadding.normal="8"
itemfontsize.mobile="11"
itempadding.mobile="5"
cbdesignscale.mobile="1"

replace with these lines :

CODE: SELECT ALL
itemfontsize="14" itempadding="8"

kind regards,

Rob

no avatar
bob1010
Member
 
Topic author
Posts: 138
Likes: 0 post
Liked in: 3 posts
Joined: Wed Jul 25, 2012 3:28 pm
Info

Re: Combo box dropdown paddle oversized on iphone 5

by bob1010 » Tue May 17, 2016 9:33 am

Hi Benjamin,

Here are a couple of screen grabs to illustrate the issue, the first shows the combo box at the correct size before it's clicked, the second shows the drop down paddle oversized on iphone 5

combo box correct size.PNG
combo box correct size before clicking


combox paddle oversized.PNG
combo box oversized drop down paddle


I've also done a test with the previous code work around will upload those also as it wasn't successful unfortunately.

no avatar
bob1010
Member
 
Topic author
Posts: 138
Likes: 0 post
Liked in: 3 posts
Joined: Wed Jul 25, 2012 3:28 pm
Info

Re: Combo box dropdown paddle oversized on iphone 5

by bob1010 » Tue May 17, 2016 9:41 am

Here are a couple of screen grabs to illustrate what happened when I used the following code to try to correct the oversize dropdown:

CODE deleted:
itemfontsize.normal="14"
itempadding.normal="8"
itemfontsize.mobile="11"
itempadding.mobile="5"
cbdesignscale.mobile="1"

CODE replaced with:
itemfontsize="14" itempadding="8"

here's the result on the iphone 5:

The combo box is very small:
Edited xml code1.PNG
combo box very small


And when clicked its appears like this:

editied xml code2.PNG
view when clicked


Hope that helps, there is also an issue with the simple thumbnails which I'll upload separately

Regards,

Rob

no avatar
bob1010
Member
 
Topic author
Posts: 138
Likes: 0 post
Liked in: 3 posts
Joined: Wed Jul 25, 2012 3:28 pm
Info

Re: Combo box dropdown paddle oversized on iphone 5

by bob1010 » Fri May 20, 2016 8:55 pm

Hi, had a reply from Klaus on this one, will email the combobox.js through if it's any help?

Cheers,

Rob

Hi,

thanks for the report and yes, there was a bug here:

The wrong font was used for the inner width calculation. The plugin was wrongly using the font of the combobox element itself and not the font for the inner items.

The reason why this was happening only on mobile was that Panotour was defining different fontsizes for desktop and mobile.

Attached a fixed combobox.js.

Best regards,
Klaus

no avatar
neilhenderson
New member
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Thu May 12, 2016 12:47 pm
Info

Re: Combo box dropdown paddle oversized on iphone 5

by neilhenderson » Fri May 05, 2017 12:00 pm

this is interesting - would you know how to change fonts or colours on these dropdowns?? want to use lato and change background colour to a blue?

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: Combo box dropdown paddle oversized on iphone 5

by Annis » Fri May 05, 2017 12:06 pm

neilhenderson wrote:this is interesting - would you know how to change fonts or colours on these dropdowns?? want
to use lato and change background colour to a blue?

Please do not revive a year old topic, instead create your own topic linking this one if needed.

Edit: I replied on your topic.


Who is online

Users browsing this forum: No registered users and 1 guest

cron