You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At line 116 in the readme you say "Note that the Separator Widget is by default 1x1 pixels in size. This allows us to expand it in the vertical direction as well as horizontal." However, you later create another separator at line 166 like this Fl_Box sep2(0, 0, 10, 1). Do the separators have to be 1x1 boxes in order to expand properly?
The text was updated successfully, but these errors were encountered:
Ah, that could actually be left over from my ANSI C implementation (here). That library I was rendering the components myself via simple SDL drawing functions and they had default sizes (which FLTK does not).
In FLTK, in many ways it is annoying that you must specify the size during construction. So for the example I gave it made a bit of sense to make the separator more than a pixel in the W to show intentions. Using (0, 0, 1, 1) should absolutely work though.
At line 116 in the readme you say "Note that the Separator Widget is by default 1x1 pixels in size. This allows us to expand it in the vertical direction as well as horizontal." However, you later create another separator at line 166 like this
Fl_Box sep2(0, 0, 10, 1)
. Do the separators have to be 1x1 boxes in order to expand properly?The text was updated successfully, but these errors were encountered: