> > ..I'd be interested in seeing the '#'s, just to check > the xywh bounds. > > Leave out any non-ui related logic. > > I'm guessing there's an Fl_Group in there somewhere > that is smaller than the widgets that are inside it. > > Also: I think it's interesting the background for the widgets > is flat gray in screen1.jpg, but has a line gradation in screen2.jpg, > which I think is the window bg. > > I'm guessing that in screen2.jpg we're seeing the window's > background, and in screen1.jpg we're seeing the background > of a group.
The widget definitions are a little complicated as we do not resize the screen uniformly because we want to maintain the maximum area for the graphical object - the reason for the program. As a result, the x, y, w, and h parameters are computed. What I did was log those values immediately after each new widget and output the type. The results are mainWindow: 55 43 1131 673 MenuGroupBegin: 0 0 1131 25 SysMenuBar: 0 0 1081 25 Button: 1081 0 50 25 MenuGroupEnd: Left_Panel_Group_Begin: 0 25 275 648 Box: 10 35 260 20 Check_Button: 20 61 25 20 Check_Button: 20 81 30 20 Check_Button: 20 101 25 20 Check_Button: 20 123 25 20 Box(hidden): 20 144 200 15 FlU_Combo_List: 180 149 70 20 FlU_Spinner: 20 166 100 25 FLU_Spinner: 150 166 100 25 FLU_Spinner: 20 212 100 25 FLU_Spinner: 150 212 100 25 FLU_Spinner: 20 257 100 25 FLU_Spinner: 150 257 100 25 FLU_Spinner: 20 303 100 25 FLU_Spinner: 150 303 100 25 FLU_Spinner: 20 349 100 25 FLU_Spinner: 150 349 100 25 FLU_Spinner: 20 395 100 25 FLU_Spinner: 150 395 100 25 Input: 20 441 60 25 Input: 105 441 60 25 Input: 190 441 60 25 Input: 20 487 60 25 Input: 105 487 60 25 Input: 190 487 60 25 Output: 20 533 230 25 Output: 20 579 230 40 Left_Panel_Group_end Gl_Window: 275 25 856 608 Cursor_Group_Begin: 275 618 856 50 Multi_Line_Output: 275 623 856 45 Cursor_Group_End: mainWindow_End: I also input these data into a spread sheet, computed x+w and y+h for each one and made sure that there was no overlap. Originally, there were, but I think they are all fixed. Unfortunately, the Left_Panel_Group still drops out, but after adding a redraw() to the end of the resize routine, it only flickers. It is annoying, but the full display is there when you stop moving the window. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

