Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set WidgetBox width #5741

Closed
marcuskd opened this issue Jan 16, 2017 · 2 comments
Closed

Can't set WidgetBox width #5741

marcuskd opened this issue Jan 16, 2017 · 2 comments

Comments

@marcuskd
Copy link
Contributor

Setting the width of a WidgetBox containing a TextInput doesn't work. Example code below (worked for v0.12.3 but not v0.12.4 - the WidgetBox still appears with the default width.


from bokeh.models.widgets.inputs import TextInput
from bokeh.models.layouts import WidgetBox, Column
from bokeh.plotting import show

ti = TextInput(title = 'Enter text:')

c = Column(children = [WidgetBox(ti,width = 1000)])

show(c)

@axil
Copy link
Contributor

axil commented Feb 17, 2018

Same behavior here. WidgetBox doesn't respect the width parameter anymore.

@bryevdv
Copy link
Member

bryevdv commented May 11, 2018

This seems to have been fixed at some point. Running the code on master with widths 100 and 1000 now yields:

screen shot 2018-05-10 at 18 28 49

screen shot 2018-05-10 at 18 29 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants