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

Resizing cells on device rotation #262

Open
EKOLX opened this issue Oct 22, 2020 · 1 comment
Open

Resizing cells on device rotation #262

EKOLX opened this issue Oct 22, 2020 · 1 comment

Comments

@EKOLX
Copy link

EKOLX commented Oct 22, 2020

Hi,

Could somebody help with resizing cell on device rotation to fit screen.

func spreadsheetView(_ spreadsheetView: SpreadsheetView, widthForColumn column: Int) -> CGFloat {
return self.view.frame.size.width / 4
}

it sets initially but on rotation doesn't recalculate.

@FadyFaheem
Copy link

You will have to reload the data to make this happen.

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

No branches or pull requests

2 participants