Skip to content

If a widget has been hidden using hide_widget, it will reappear after the view is zoom-out and zoom-in #411

Open
@hmq2018

Description

@hmq2018

If a widget has been hidden using hide_widget, it will reappear after the viewer is zoom-out (very small) and zoom-in.

File: node_base.py

    def set_proxy_mode(self, mode):
        """
        Set whether to draw the node with proxy mode.
        (proxy mode toggles visibility for some qgraphic items in the node.)

        Args:
            mode (bool): true to enable proxy mode.
        """
       ...

        # node widget visibility.   =>need to add some conditions<=
        for w in self._widgets.values():
            w.widget().setVisible(visible)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions