summaryrefslogtreecommitdiff
path: root/MainWindow.cpp
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-12 14:56:11 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-12 14:56:11 +0930
commit037f27434849506d92f844354f491ddf967d5c51 (patch)
tree45e319c0b3c6a10dcb6d1c46c9718a0190d2c364 /MainWindow.cpp
parentbf62f709938dcb5644dc8e4bc9d9cf5750bcd1a5 (diff)
downloadfoxminesweeper-037f27434849506d92f844354f491ddf967d5c51.tar.gz
foxminesweeper-037f27434849506d92f844354f491ddf967d5c51.zip
make scroll window same color as frame
Diffstat (limited to 'MainWindow.cpp')
-rw-r--r--MainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/MainWindow.cpp b/MainWindow.cpp
index db72c9e..61cbac9 100644
--- a/MainWindow.cpp
+++ b/MainWindow.cpp
@@ -30,7 +30,7 @@ FXDEFMAP(MainWindow) MainWindow_Map[]=
FXIMPLEMENT(MainWindow, FXMainWindow, MainWindow_Map, ARRAYNUMBER(MainWindow_Map))
MainWindow::MainWindow(FXApp *a)
- : FXMainWindow(a, "foxminesweeper", nullptr, nullptr, DECOR_ALL, 0,0,200,150)
+ : FXMainWindow(a, "foxminesweeper", nullptr, nullptr, DECOR_ALL, 0,0, 500, 500)
{
board = nullptr;
matrix = nullptr;
@@ -90,6 +90,7 @@ MainWindow::create_ui()
new FXHorizontalSeparator(canvasFrame, SEPARATOR_GROOVE|LAYOUT_FILL_X);
scroll_area = new FXScrollWindow(canvasFrame, FX::SCROLLERS_NORMAL|LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_SUNKEN);
+ scroll_area->setBackColor(canvasFrame->getBackColor());
// RIGHT pane for the buttons
buttonFrame=new FXVerticalFrame(contents, FRAME_SUNKEN|LAYOUT_FILL_Y|LAYOUT_TOP|LAYOUT_LEFT, 0, 0, 0, 0, 10, 10, 10, 10);