Skip to content

Commit

Permalink
Merge pull request #298 from SylvainCorlay/layout_allow_none
Browse files Browse the repository at this point in the history
Don't allow None for layout widget attributes
  • Loading branch information
SylvainCorlay committed Jan 6, 2016
2 parents f92accc + 66b65e1 commit d56304d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions ipywidgets/widgets/widget_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ class Layout(Widget):
_view_name = Unicode('LayoutView', sync=True)

# Keys
align_content = CUnicode(sync=True, allow_none=True)
align_items = CUnicode(sync=True, allow_none=True)
align_self = CUnicode(sync=True, allow_none=True)
bottom = CUnicode(sync=True, allow_none=True)
display = CUnicode(sync=True, allow_none=True)
flex = CUnicode(sync=True, allow_none=True)
flex_flow = CUnicode(sync=True, allow_none=True)
height = CUnicode(sync=True, allow_none=True)
justify_content = CUnicode(sync=True, allow_none=True)
left = CUnicode(sync=True, allow_none=True)
margin = CUnicode(sync=True, allow_none=True)
overflow = CUnicode(sync=True, allow_none=True)
padding = CUnicode(sync=True, allow_none=True)
right = CUnicode(sync=True, allow_none=True)
top = CUnicode(sync=True, allow_none=True)
visibility = CUnicode(sync=True, allow_none=True)
width = CUnicode(sync=True, allow_none=True)
align_content = CUnicode(sync=True)
align_items = CUnicode(sync=True)
align_self = CUnicode(sync=True)
bottom = CUnicode(sync=True)
display = CUnicode(sync=True)
flex = CUnicode(sync=True)
flex_flow = CUnicode(sync=True)
height = CUnicode(sync=True)
justify_content = CUnicode(sync=True)
left = CUnicode(sync=True)
margin = CUnicode(sync=True)
overflow = CUnicode(sync=True)
padding = CUnicode(sync=True)
right = CUnicode(sync=True)
top = CUnicode(sync=True)
visibility = CUnicode(sync=True)
width = CUnicode(sync=True)

0 comments on commit d56304d

Please sign in to comment.