mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
month date control
This commit is contained in:
parent
d2c2933eb7
commit
c2ff106684
@ -129,7 +129,7 @@ class DirectScrolledList(DirectFrame):
|
|||||||
# If there is a function to create the item
|
# If there is a function to create the item
|
||||||
item = apply(self['itemMakeFunction'], (item, i, self['itemMakeExtraArgs']))
|
item = apply(self['itemMakeFunction'], (item, i, self['itemMakeExtraArgs']))
|
||||||
else:
|
else:
|
||||||
item = DirectFrame(text = item)
|
item = DirectFrame(text = item, relief = None)
|
||||||
# Then add the newly formed item back into the normal item list
|
# Then add the newly formed item back into the normal item list
|
||||||
self["items"][i] = item
|
self["items"][i] = item
|
||||||
item.reparentTo(self.itemFrame)
|
item.reparentTo(self.itemFrame)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user