TextInput not respecting width
See original GitHub issueLooks like TextInput is still not respecting ‘width’ in v0.12.5.
from bokeh.plotting import figure, show, curdoc, output_notebook
from bokeh.layouts import widgetbox, layout
from bokeh.models.widgets import TextInput
wd = 20
txtIn_start = TextInput(value=str(1), title="Start:", width=wd)
txtIn_end = TextInput(value=str(9), title="End:", width=wd)
txtIn_step = TextInput(value=str(3), title="Step:", width=wd)
txtIn_rng = widgetbox(children=[txtIn_start,txtIn_end,txtIn_step], width=wd)
#show(txtIn_rng_row)
curdoc().add_root(txtIn_rng)
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
CSS Input with width: 100% goes outside parent's bound
According to the CSS basic box model, an element's width and height are applied to its content box. Padding falls outside of that...
Read more >Button and TextInput not respecting width · Issue #8157 - GitHub
The horizontal layout of a TextInput widget and buttons to its left and right produces overlapping elements when widths are specified.
Read more >Set width of text input box automatically to content
I want to change width as you type. I have managed to implement this using the following code: jQuery(document).ready(function(){ //set the starting width...
Read more >contain-intrinsic-width - CSS: Cascading Style Sheets | MDN
The contain-intrinsic-width CSS property sets the width of an element that a browser will use for layout when the element is subject to...
Read more >CSS: Issue with input text width - MSDN - Microsoft
I'm having an issue with my css not setting the width of my input text to ... You could comment it and you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This appears to have been fixed as of #8085
Original code with
wd=20
and thenwd=200
Wonderful, thank you!