Browse Source

ImageAboutWindow must not be resizable

gh-pages
falkTX 10 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),
fImgBackground(image)
{
Window::setResizable(false);
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE);
Window::setTitle("About");
}
@@ -41,6 +42,7 @@ ImageAboutWindow::ImageAboutWindow(Widget* widget, const Image& image)
Widget((Window&)*this),
fImgBackground(image)
{
Window::setResizable(false);
Window::setSize(image.getWidth(), image.getHeight() PAD_SIZE);
Window::setTitle("About");
}


Loading…
Cancel
Save