Secondary toolbar widget should set a minimum height #1304
This commit is contained in:
parent
b41e4a51d7
commit
86ba52eadd
@ -54,6 +54,7 @@ class ToolbarButton(ToolButton):
|
||||
self.page_widget = None
|
||||
return
|
||||
self.page_widget = _embody_page(_Box, page)
|
||||
self.page_widget.set_size_request(-1, style.GRID_CELL_SIZE)
|
||||
self.page_widget.toolbar_button = self
|
||||
page.show()
|
||||
if self.props.palette is None:
|
||||
@ -79,6 +80,7 @@ class ToolbarButton(ToolButton):
|
||||
and self.toolbar_box.expanded_button == self
|
||||
|
||||
def popdown(self):
|
||||
if self.props.palette is not None:
|
||||
self.props.palette.popdown(immediate=True)
|
||||
|
||||
def set_expanded(self, expanded):
|
||||
|
Loading…
Reference in New Issue
Block a user