[nat nat org: Re: xpdf status ... yet another day.]




Forgot to send this here as well.


----- Forwarded message from Nat Friedman <nat@nat.org> -----

To: Miguel de Icaza <miguel@gnu.org>, federico@redhat.com
Subject: Re: xpdf status ... yet another day.
Date: 30 Aug 1999 00:28:14 -0400


Miguel de Icaza <miguel@gnu.org> wrote:
> 
> > >      Of course the embedded component is going to need to be able to
> > >  specify pixel padding (to accomodate space taken up by editing
> > >  widgets, etc).
> > 
> > Can you give an example of this?
> 
> I do not follow this either Nat.

Let's say my component looks like this:


    ________   ________         -
   | Button | | Button |        | 10 pixels
    --------   --------         -
 |----------------------|       -
 |  Document goes here  |       |
 |                      |       |
 |                      |       |
 |                      |       | 50 pixels.
 |                      |       |
 |                      |       |
 |                      |       |
  ----------------------        -

(Putting buttons in the component might be wrong, but you can surely
imagine other scenarios where there will be non-scalable "border"
pixels).

    So when the component gets scaled, its container cannot just
allocate it (height * zoom_factor) pixels for the component's height.
The idea here is that the component itself must specify its new size.

Nat



----- End forwarded message -----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]