[Spice-devel] [PATCH spice-html5] If an agent is attached, enable dynamic resizing of the guest screen.

Jeremy White jwhite at codeweavers.com
Tue Sep 9 13:50:25 PDT 2014


On 09/09/2014 03:44 PM, Gianni Pirozzi wrote:
> On Tuesday, September 09, 2014 at 4:06 PM, I wrote:
>> I know, vertical sizing relative to the viewport is a pain.
>> Have you considered to style the body as a positioned element and update its height at resize? If you do that, elements with a percentage height should dynamically resize too, e.g.
>> ...
>
> Sorry, don't mind this, I misunderstood the effect you wanted (with Windows guests it may not be so obvious).
> You want to have the screen element take as much space as possible but keeping the messages element visible without vertical scrolling. I can't think of any better way than what you did, for that specific layout.

Thanks; I was just about to write an email confessing that I didn't seem 
to be able to do any better, so that helps.  And thanks for the insight 
in general; it is appreciated.

Cheers,

Jeremy


More information about the Spice-devel mailing list