As far as i understand there is no way for complete control of TextInput dimensions, I need to be able to make it shorter then a default, but i am not sure how can do it: changing html stuff, python or maybe someone can put simple code that i can change according without learing javascript or other stuff.
Hi Andrejus,
My trick is to set the *name*
attribute of *TextInput*
:
detail_low_input = TextInput(name='low_short', value="10.2", title="Low")
and in my css-file I have:
.bk-widget input[name$="_short"] {
min-width: 100px;
}
Hope this workaround helps.
Raphael
···
On 2016-11-02 11:40, Andrejus
Antoninovas wrote:
As far as i understand there is no way for complete
control of TextInput dimensions, I need to be able to make it
shorter then a default, but i am not sure how can do it:
changing html stuff, python or maybe someone can put simple code
that i can change according without learing javascript or other
stuff.
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/f0b8ef19-813b-483c-a584-c0867590eb36%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/f0b8ef19-813b-483c-a584-c0867590eb36%40continuum.io?utm_medium=email&utm_source=footer). For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).
Thanks, i will try.
···
On Wed, Nov 2, 2016 at 1:47 PM, Raphael Walker [email protected] wrote:
Hi Andrejus,
My trick is to set the
*name*
attribute of*TextInput*
:
detail_low_input = TextInput(name='low_short', value="10.2", title="Low")
and in my css-file I have:
.bk-widget input[name$="_short"] {
min-width: 100px;
}
Hope this workaround helps.
Raphael
On 2016-11-02 11:40, Andrejus
Antoninovas wrote:
As far as i understand there is no way for complete
control of TextInput dimensions, I need to be able to make it
shorter then a default, but i am not sure how can do it:
changing html stuff, python or maybe someone can put simple code
that i can change according without learing javascript or other
stuff.
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected]. To view this discussion on the web visit [https://groups.google.com/a/continuum.io/d/msgid/bokeh/f0b8ef19-813b-483c-a584-c0867590eb36%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/f0b8ef19-813b-483c-a584-c0867590eb36%40continuum.io?utm_medium=email&utm_source=footer). For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e1ca919c-a23b-3f2d-0308-5032ee40a0f2%40busino.ch.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.