Merge pull request #5603 from leethomas/osx-horizontal-sheet-offset

Osx horizontal sheet offset
This commit is contained in:
Cheng Zhao 2016-05-21 14:07:53 +00:00
commit 6f3d0e1782
6 changed files with 27 additions and 14 deletions

View file

@ -381,8 +381,10 @@ std::vector<int> Window::GetMaximumSize() {
return result;
}
void Window::SetSheetOffset(double offset) {
window_->SetSheetOffset(offset);
void Window::SetSheetOffset(double offsetY, mate::Arguments* args) {
double offsetX = 0.0;
args->GetNext(&offsetX);
window_->SetSheetOffset(offsetX, offsetY);
}
void Window::SetResizable(bool resizable) {