[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FLTK refresh required
From: |
Ben Abbott |
Subject: |
Re: FLTK refresh required |
Date: |
Tue, 23 Jul 2013 21:58:08 +0200 |
On Jul 23, 2013, at 5:38 PM, Michael Goffioul wrote:
> > If you change the figure's position and then return it to its
> original value, does the figure size displayed change?
>
> The size does not change perceptibly and the size goes back to its original
> value.
>
> --------------------------------------------------
> octave:5> set (gcf (), "position", pos+1)
> octave:6> set (gcf (), "position", pos)
> octave:7> pos = get (gcf (), "position")
> pos =
>
> 25 345 560 380
> --------------------------------------------------
>
> Is the original Y-size controlled by the window manager?
>
> A window manager does not control the size, only the position. I think (part
> of) the problem is that the FLTK backend does not honour the figure size
> properly when the figure is created, especially it does not take the menubar
> height into account, such that the total window height should the figure
> height plus the menubar height (the client area, excluding WM borders and
> titlebar).
>
> Michael.
My understanding is that the figure's "position" property should only include
the plot area (does not include the menubar, titlebar, or toolbar). Is that
not correct?
Ben
- Re: FLTK refresh required, (continued)
- Re: FLTK refresh required, Ben Abbott, 2013/07/21
- Re: FLTK refresh required, Michael Goffioul, 2013/07/21
- Re: FLTK refresh required, Ben Abbott, 2013/07/22
- Re: FLTK refresh required, Rik, 2013/07/22
- Re: FLTK refresh required, Ben Abbott, 2013/07/23
- Re: FLTK refresh required, Ben Abbott, 2013/07/23
- Re: FLTK refresh required, Rik, 2013/07/23
- Re: FLTK refresh required, Michael Goffioul, 2013/07/23
- Re: FLTK refresh required,
Ben Abbott <=
- Re: FLTK refresh required, Ben Abbott, 2013/07/23
- Re: FLTK refresh required, Michael Goffioul, 2013/07/23
- Re: FLTK refresh required, Dmitri A. Sergatskov, 2013/07/23
- Re: FLTK refresh required, Ben Abbott, 2013/07/23
- Re: FLTK refresh required, Ben Abbott, 2013/07/25
- Re: FLTK refresh required, Rik, 2013/07/25
- Re: FLTK refresh required, Ben Abbott, 2013/07/25
- Re: FLTK refresh required, Dmitri A. Sergatskov, 2013/07/25
- Re: FLTK refresh required, Ben Abbott, 2013/07/25
- Re: FLTK refresh required, Michael Goffioul, 2013/07/25