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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user