[patch] fix close button height in page source window

Hi, the height of the close button of the source code window changes with the size of the window. The patch below fixes its size. Cheers, Johannes PS: Scrolling in the page source window is dead slow here. But that's definately a fltk issue... diff -r 043b53a25dc3 src/dialog.cc --- a/src/dialog.cc Mon Dec 10 15:42:03 2007 +0100 +++ b/src/dialog.cc Mon Dec 10 18:12:15 2007 +0100 @@ -123,7 +123,7 @@ void a_Dialog_text_window(const char *tx ReturnButton *b = new ReturnButton (0, wh-bh, ww, bh, "Close"); b->callback(window_close_cb, window); - window->resizable(window); + window->resizable(td); window->end(); window->show(); }

On Mon, Dec 10, 2007 at 06:15:56PM +0100, Johannes Hofmann wrote:
Hi,
the height of the close button of the source code window changes with the size of the window. The patch below fixes its size.
Committed.
PS: Scrolling in the page source window is dead slow here. But that's definately a fltk issue...
Yes, and we still have the resort of showing the source inside a new dillo browser window (this would add find text, but lose the nice line numbers), with the gain of faster scrolling. Now, if we delegate viewsource to a dpi, it would be simple to add the line numbers. Just some thoughts. -- Cheers Jorge.-
participants (2)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de