Browse Source

ImageAboutWindow must not be resizable

gh-pages
falkTX 11 years ago
parent
commit
9228f17632
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      dgl/src/ImageAboutWindow.cpp

+ 2
- 0
dgl/src/ImageAboutWindow.cpp View File

@@ -32,6 +32,7 @@ ImageAboutWindow::ImageAboutWindow(App& app, Window& parent, const Image& image)
Widget((Window&)*this), Widget((Window&)*this),
fImgBackground(image) fImgBackground(image)
{ {
Window::setResizable(false);
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE); Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE);
Window::setTitle("About"); Window::setTitle("About");
} }
@@ -41,6 +42,7 @@ ImageAboutWindow::ImageAboutWindow(Widget* widget, const Image& image)
Widget((Window&)*this), Widget((Window&)*this),
fImgBackground(image) fImgBackground(image)
{ {
Window::setResizable(false);
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE); Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE);
Window::setTitle("About"); Window::setTitle("About");
} }


Loading…
Cancel
Save