widget:menu: deactivate requirement for new popup_code

* since new popup code is just in PR #304, do not rely on its availibility

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2021-03-03 11:53:17 +01:00
parent b96c3c510f
commit a451b58ab4

View File

@@ -212,7 +212,7 @@ fn create_menu_popup(target: Entity, ctx: &mut BuildContext<'_>) -> Entity {
.open(true)
// WIP: this requires orbtk-develop with PR #304 (new_popup)
// Specify the popup position relative to the target
.relative_position(RelativePosition::Bottom(5.0))
//.relative_position(RelativePosition::Bottom(5.0))
// Reference target from given Point
//.target(Point::new(100.0,100.0))
//.style("popup_menu")