Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SidePanel gap after rotation. #45

Open
sedwo opened this issue Oct 18, 2018 · 2 comments
Open

SidePanel gap after rotation. #45

sedwo opened this issue Oct 18, 2018 · 2 comments
Assignees
Labels

Comments

@sedwo
Copy link

sedwo commented Oct 18, 2018

I configure the panels like this:

    func configureSidePanelController() -> FAPanelController {
        let panelVC = FAPanelController()

        panelVC.configs.panFromEdge = true
        panelVC.configs.unloadRightPanel = true

        panelVC.configs.resizeLeftPanel = true
        panelVC.configs.resizeRightPanel = true

        panelVC.configs.leftPanelWidth = 0
        panelVC.configs.rightPanelWidth = 0
        panelVC.configs.leftPanelGapPercentage = hardwareDevice.isPad ? 0.5 : 0.8
        panelVC.configs.rightPanelGapPercentage = hardwareDevice.isPad ? 0.5 : 0.8

        panelVC.leftPanelPosition = .front
        panelVC.rightPanelPosition = .front

And exhibit this:

image

Video here:

sidePanelGap.mp4.zip

@fahidattique55
Copy link
Owner

@sedwo

Thanks for reporting this. I will look into it tonight.

@fahidattique55 fahidattique55 self-assigned this Nov 8, 2018
@fahidattique55
Copy link
Owner

@sedwo

I am unable to generate this issue. How did you generated this? Can you share what configs are you using for panel ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants