Em Qua, 2007-08-22 às 19:52 +0100, Daniel P. Berrange escreveu: > On Wed, Aug 22, 2007 at 03:47:03PM -0300, Jonh Wendell wrote: > > Em Qua, 2007-08-22 às 19:24 +0100, Daniel P. Berrange escreveu: > > > > > > > > BTW, What do you think about putting the widget in the middle of area, > > > > instead of top left? > > > > > > It would complicate the drawing code :-) Can you put the vnc widget > > > inside the GTK alignment widget and let the alignment do the centering ? > > > > > > Dan. > > > > Ah, but the widget itself is big, isn't it? I mean, the black part > > belongs to widget, right? > > Yes, the black part is part of the VNC widget. But if you embedded the > VNC widget inside an alignment I think the VNC widget would always > remain at the perfect size to match the remote framebuffer, and the GTK > alignment widget would take care of positioning & filling the extra space. > > Dan. No luck, see the attachment, taken on full screen: (My resolution: 1280x800) (VNC Server resolution: 800x600) -- Jonh Wendell jonh wendell gmail com (MSN / Google Talk) Linux User #114432 https://launchpad.net/~wendell
Attachment:
with_alignment.jpg
Description: JPEG image