]> git.lyx.org Git - features.git/blobdiff - src/WorkArea.h
Kayvan --export fix ; Angus toolbar fixes
[features.git] / src / WorkArea.h
index dc3e26a5413d2bcd4fc5a4296c1b38f7e4787acd..1d757c021f9d4da38339f54697a9cd99408cf135 100644 (file)
@@ -35,13 +35,17 @@ public:
        ///
        int workWidth() const { return work_area->w; }
        ///
-       unsigned int width() const { return work_area->w + scrollbar->w; }
+       //unsigned int width() const { return work_area->w + scrollbar->w; }
+       unsigned int width() const { return backgroundbox->w + 15; }
        ///
-       unsigned int height() const { return work_area->h; }
+       //unsigned int height() const { return work_area->h; }
+       unsigned int height() const { return backgroundbox->h; }
        ///
-       int xpos() const { return work_area->x; }
+       //int xpos() const { return work_area->x; }
+       int xpos() const { return backgroundbox->x; }
        ///
-       int ypos() const { return work_area->y; }
+       //int ypos() const { return work_area->y; }
+       int ypos() const { return backgroundbox->y; }
        ///
        void resize(int xpos, int ypos, int width, int height);
        ///