multiselect

Hi

I can’t seem to set the height of a multiselect widget. I would like the height to be the scaled or set but neither makes a difference. Changing the height size only changes the distance between the boxes, it doesn’t make the box 500 pixels high.

Changing the width works as expected.

Darren

here is an example

from bokeh.io import output_file, show

from bokeh.layouts import widgetbox

from bokeh.models.widgets import MultiSelect

output_file(“multi_select.html”)

ms = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”],height=500)

ms1 = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”])

ms2 = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”])

p=widgetbox(ms,ms1,ms2, sizing_mode=‘scale_height’,width=500)

show(p)

Am experiencing the same issue atm. Did you come up with a workaround at all?

J

···

On Thursday, 14 July 2016 19:34:25 UTC+1, Dkon99 wrote:

Hi

I can’t seem to set the height of a multiselect widget. I would like the height to be the scaled or set but neither makes a difference. Changing the height size only changes the distance between the boxes, it doesn’t make the box 500 pixels high.

Changing the width works as expected.

Darren

here is an example

from bokeh.io import output_file, show

from bokeh.layouts import widgetbox

from bokeh.models.widgets import MultiSelect

output_file(“multi_select.html”)

ms = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”],height=500)

ms1 = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”])

ms2 = MultiSelect(title=“Variables”,

options=[“foo”, “bar”, “baz”, “quux”])

p=widgetbox(ms,ms1,ms2, sizing_mode=‘scale_height’,width=500)

show(p)