summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-01 13:28:52 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-01 13:28:52 +0000
commit01d966c835382c5a15ded5cb3461f7b80226888a (patch)
tree6b10639a582f769dfdf1c5a89f773174a21bea33 /documentation
parentdaa85ed922e893c8b278d51c29d5c3385947aeb7 (diff)
Two more adjustments to basics.dox.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/src/basics.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/src/basics.dox b/documentation/src/basics.dox
index c557bdc59..2fe26f7f0 100644
--- a/documentation/src/basics.dox
+++ b/documentation/src/basics.dox
@@ -37,14 +37,14 @@ After including the required header files, the program then creates a
window. All following widgets will automatically be children of this window.
\code
-Fl_Window *window = new Fl_Window(300,180);
+Fl_Window *window = new Fl_Window(340,180);
\endcode
Then we create a box with the "Hello, World!" string in it. FLTK automatically
adds the new box to \p window, the current grouping widget.
\code
-Fl_Box *box = new Fl_Box(20,40,260,100,"Hello, World!");
+Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
\endcode
Next, we set the type of box and the font, size, and style of the label: