From 01d966c835382c5a15ded5cb3461f7b80226888a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 1 Jan 2011 13:28:52 +0000 Subject: Two more adjustments to basics.dox. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8156 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/basics.dox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation/src') 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: -- cgit v1.2.3