Merge pull request #5603 from leethomas/osx-horizontal-sheet-offset
Osx horizontal sheet offset
This commit is contained in:
commit
6f3d0e1782
6 changed files with 27 additions and 14 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue