Skip to content

Make a hide and show method. #92

@RoarGronmo

Description

@RoarGronmo

Instead of shrinking to 0 (which apparently doesn't hide the divider), could you please make an effort to make a hide and show method to apparently hide the containing widget (and its divider) or show the containing widget (and its divider) ?

The show parameter could be a part of the controller, in the same way as the size. You could even use it as a containing method like:


resizeableController.setSizes([
  ResizableSize.show(true),  //Visible, true could be default
  ResizableSize.show(false),  //Hidden 
]);

or the contrary

resizeableController.setSizes([
  ResizableSize.hide(false),  //Visible
  ResizableSize.hide(true),  //Hidden, true could be default
]);

Or more intuitive

resizableController.setVisible([
  true,
  false,
]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions