|
|
On 7/14/22 07:04, 'pvr...@btinternet.com' via fltk.general wrote:
I am generating labels from my database and am generating
HTML using a template and fields from the database. I then send
this HTML to an instance of Fl_Help_View. Despite setting
box(FL_NO_BOX) on the instance I still see a box appear. The
only place I see box not-zero is in the scrollbar children of
the help view. The scrollbars are not being shown.
I see this both when I display the view on screen or send it
to a printer.
I don't really want the box vixible when I print. Any
suggestions how I get around this?
I'm guessing you can't disable the box for a scrolling widget,
because it needs a
box to redraw the background during scrolling, otherwise the
content being scrolled
would 'smear' (leave leftovers from the previous draw).
Instead of disabling the box(), try setting it to FL_FLAT_BOX.
If you make sure the color() of the background is the same as
the parent widget,
it won't seem visible.
--
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/16874dc4-a667-c1e5-b8b5-4be6a315ab4e%40seriss.com.
[ Direct Link to Message ] | |
|
| |