Use the dropdown icon. Quite an hack to get the icon size right,

we will have to fix this properly.
This commit is contained in:
Marco Pesenti Gritti 2007-03-01 15:52:36 +01:00
parent 57b887df30
commit 8ec1e2b524

View File

@ -75,8 +75,9 @@ class OptionMenu(hippo.CanvasBox, hippo.CanvasItem):
self._round_box.append(self._canvas_text, hippo.PACK_EXPAND)
# TODO: Substitute for the right icon.
arrow = iconbutton.IconButton(icon_name='theme:stock-close')
arrow = iconbutton.IconButton(icon_name='theme:control-popup-arrow')
arrow.props.size = iconbutton.SMALL_SIZE
arrow.props.scale = units.STANDARD_ICON_SCALE
arrow.props.yalign = hippo.ALIGNMENT_CENTER
arrow.props.xalign = hippo.ALIGNMENT_START
self._round_box.append(arrow)