> On 10/14/11 14:11, David wrote: > > Is there something equivalent to a Windows group box > > where the frame is drawn > > You can change the border on widgets with box(). > This includes groups and window-in-windows. > > So in the example I posted in that other thread, > win2.box(FL_THIN_BORDER_BOX); would make a black line > border. >
> > and the text label is printed > > on top of the frame at top left? > > Normally align(FL_ALIGN_LEFT) would be used to > position the label, but in the case of a window-in-window, > it seems like the label() isn't showing at all, which might > be a bug with that usage of windows. > > Instead, make a group and set its label() and align() > to what you want, then put a window inside the group > that's the same position/dimension to get the border > and coordinate behavior you want, eg: > But would that also put the label over the top of the frame? (group boxes have the lines around it and the lable one the edge of the frame - check windows apps for how nice it looks), all the tries I did with fltk either made it above or below the frame; I could skew a box to cause to to happen, but maybe a new label type option would be best? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

