Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for FlowPanel example

  • Loading branch information...
commit e3324d1fd9c1e95c402f7def4b166b5a66a42d17 1 parent 4ca2e31
@keesbos keesbos authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  examples/flowpanel/FlowPanel.py
  2. +1 −0  library/gwt/ui/UIObject.py
View
2  examples/flowpanel/FlowPanel.py
@@ -32,7 +32,7 @@ def __init__(self):
for x in range(0, 10):
self.panel = VerticalPanel()
#Label each image with its number in the sequence
- title = Label("Item %s" % x, element=DOM.createElement('span'), StyleName="title item")
+ title = Label("Item %s" % x, Element=DOM.createElement('span'), StyleName="title item")
#Add a neat-o image.
image = Image('images/pyjamas.png', Width="200px", Height="200px", StyleName="cat-image cat-item")
#Add to the Vertical Panel the image title
View
1  library/gwt/ui/UIObject.py
@@ -48,6 +48,7 @@ def setStyleName(element, style, add):
class UIObject(Applier):
_props = [ ("visible", "Visibility", "Visible", None),
+ ("element", "Element", "Element", None),
("stylename", "Style name", "StyleName", None),
("width", "Width", "Width", None),
("height", "Height", "Height", None),
Please sign in to comment.
Something went wrong with that request. Please try again.