How can I set the height of a pywidgets.Text?

am trying to set the height of a Text widget (ipywidgets).
I tried something like that:

from ipywidgets import Text, Layout
Text('test', layout=Layout(height='15px'))

but, it doesn’t shrink the height of the Text widget frame, nut instead it just shows the frame cropped:

image

Would appreciate help / guidance!