summaryrefslogtreecommitdiff
path: root/MainWindow.cpp
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-06-26 23:08:24 +0930
committerDaniel Jones <admin@danieljon.es>2020-06-26 23:08:24 +0930
commit046f19bc46bfd76de83c7a85d7651e07936ef1e4 (patch)
tree4479e1d231497d147b831b38b878297778f03354 /MainWindow.cpp
parent41aa7c4ac6f8f86a36ad71a2003d7e0e840a51dc (diff)
downloadfoxlogicgates-046f19bc46bfd76de83c7a85d7651e07936ef1e4.tar.gz
foxlogicgates-046f19bc46bfd76de83c7a85d7651e07936ef1e4.zip
GUI: options now scroll
Diffstat (limited to 'MainWindow.cpp')
-rw-r--r--MainWindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/MainWindow.cpp b/MainWindow.cpp
index ec4c46c..40bb384 100644
--- a/MainWindow.cpp
+++ b/MainWindow.cpp
@@ -118,8 +118,9 @@ MainWindow::create_ui()
canvas_image = new FXBMPImage(app, NULL, 0, 2048, 2048);
-
- optionsFrame = new FXVerticalFrame(contents, FRAME_SUNKEN|LAYOUT_FILL_Y|LAYOUT_TOP, 0, 0, 0, 0, 10, 10, 10, 10);
+ /* options */
+ options_scroll_area = new FXScrollWindow(contents, FX::SCROLLERS_NORMAL|LAYOUT_FILL_Y|LAYOUT_FIX_WIDTH, 0, 0, 123);
+ optionsFrame = new FXVerticalFrame(options_scroll_area, FRAME_SUNKEN|LAYOUT_FILL_Y|LAYOUT_TOP, 0, 0, 0, 0, 10, 10, 10, 10);
new FXLabel(optionsFrame, "Options", NULL, JUSTIFY_CENTER_X|LAYOUT_FILL_X);
new FXHorizontalSeparator(optionsFrame, SEPARATOR_RIDGE|LAYOUT_FILL_X);