You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Monday, October 1st 2018, 3:56am

Combobox - Show more Items


I've created two comboboxes.

One on top of the other.

The top one shows only a few items on dropdown.

The second one (below), shows much more items.

Is there a way to specify how many items to show or the size of the dropdown?



Monday, October 1st 2018, 8:07am

Try to limit the height of tearing.
In the style of "combobox_container_style" , write
185 - max height(example).

combobox.xml line 206. write as follows:

Source code

<action name="combobox_onclick_event">

combobox.xml line 453. add the line:

453. clamp(openheight,0,%1);

454. tween(global.layer[get(cbname)].height, get(openheight), get(cb.open_close_speed));


Monday, October 1st 2018, 9:27am

*thumbsup* THANKS


Monday, October 1st 2018, 8:28pm

I don't know why, but it did nothing for me.

I tried inside and outside a parent layer.

The problem occurs only when the combobox is children of a layer.

And I have 2 of them as children. One opens much more than the other. :/


Monday, October 1st 2018, 8:59pm

Here the drop-down list "List of hotspot" is made on this principle. It's the child layer.

You wrote "onclick" in the style that you use for combobox?


Monday, October 1st 2018, 9:12pm

Yes I did.

I will try to leave only one combobox inside the parent to see if it solves.


Thursday, October 4th 2018, 8:08pm

Doesn't work either.

It worked alone, but suddenly it stops showing all options when I add other comboboxes to the scene.

Also I've noticed that on mobile there's a blue arrow that is ugly. Can I change it?

AND.. the most important: I can't select all the options on mobile.
They don't appear in total, even when scrolling. I have to pull the fingers far from the original touch point to see the last options and, when I release the finger, it goes up one or two options in the list.
The use will never be able to select the last ones in mobile.

Why doest it happen?



Thursday, October 4th 2018, 8:22pm

My link doesn't work for you either?


Thursday, October 4th 2018, 8:33pm

Although in your example it doesn't show all options when opened, at least on mobile I can scroll and see all the options.

On mine I can only do this in desktop. On mobile I can't see/access all options. :(


Thursday, October 4th 2018, 8:37pm

Try this
onklikk - prescribe not in style, but in the layer of combobox
name - name of the combobox
<action name="combobox_onclick_event">


Thursday, October 4th 2018, 9:29pm

Nothing works! :(


Friday, October 5th 2018, 5:29am

In this example , the height is limited for static and dynamic combobox.
Just need to prescribe onklik each combobox.
San7 has attached the following files:
  • combobox.xml (20.62 kB - 4 times downloaded - latest: Sep 14th 2019, 6:12pm)
  • krpano.xml (7 kB - 4 times downloaded - latest: Sep 14th 2019, 6:26pm)


Saturday, October 6th 2018, 4:03am

Thanks, San!

I decided to get your code (that worked in an empty file) and started from scratch.

I did it differently, but it's working now!! Thanks!!!

Do you know how to change that blue arrow when it's opened?
The grey one is beautiful, but when opened is ugly. I wish it could only rotate that beautiful down arrow. :)