Does this section in the docs help?

https://ipywidgets.readthedocs.io/en/latest/examples/Widget%20Styling.html#Description



On Sat, Mar 24, 2018 at 3:18 PM Randy Heiland <randy.heil...@gmail.com>
wrote:

> The following crops the description for the FloatText; how can I have it
> not do that? Basically, I'd like to display the entire description string
> and shorten the FloatText input box.
>
> from ipywidgets import Layout, HBox, FloatText, Label
> numVal = FloatText (
>     description= 'Enter your value',
>     layout = Layout(flex='0%', constWidth='200px'),  # width = 'auto',
> )
> numUnits = Label('Units')
> HBox([numVal, numUnits], layout=Layout(width='300px'))
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/f5625704-3cfe-4257-8da2-f61b3b03872e%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/f5625704-3cfe-4257-8da2-f61b3b03872e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHzxeeBNDYh1u0JLFAbs7At_vVJ4%2BufHbs5mCbCKbsbeLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to