|
|
On 10/6/22 15:04, roger tunnicliffe
wrote:
Thx for the replies people.
I've checked and I don't believe I have done this wrong:-
* Child widgets are created outside their parent's
xywh boundaries
I'm working on reducing your app so it'll compile without the
.cpy stuff.
You do have to watch out for things like this:
win2_tabs = new
Fl_Tabs(x,y+25,x+400,y+200);
win2_grp1 = new
Fl_Group(x,y+50,x+400,y+200,"Transaction");
If you look closely, you'll see that the win_grp1's height is
too large
for the parent; its 'y' position is 25 pixels lower than the
parent, but the
height is the same, which means it'll extend 25 pixels beyond
the bottom
of the parent win2_tabs.
To fix the above you'd use instead:
win2_tabs = new
Fl_Tabs(x,y+25,x+400,y+200);
win2_grp1 = new
Fl_Group(x,y+50,x+400,y+200-25,"Transaction");
I haven't checked the code yet, still working on reducing the
code
to just the GUI code, so it'll build.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c2ff489c-6b6d-9066-66c1-2b5b0d5611ab%40seriss.com.
[ Direct Link to Message ] | |
|
| |