hi all, i'm trying to use QMacNativeWidget to display a Qt widget hierarchy (namely a QQuickView, wrapped inside a QWidget via createWindowContainer) inside an NSView.
however i'm having troubles if the parent NSView is resized below the size of QMacNativeWidget: if the QMacNativeWidget does not fit, its content is clipped. on the top and on the right (the bottom left point is anchored): +===========+ | " <--- clipped QMacNativeWidget +---------+ " | | " | | " | | " | | " | | " +---------+=+ however the coordinate of the mouse events seems to be computed from the top left point of the QMacNativeWidget: so clicking at point X will cause a mouse event at point Y: +===========+ | " +---------+ " | | " | Y | " | | " | X | " | | " +---------+=+ i'm not sure if this is a bug or a feature. unfortunately i have little control over the parent NSView, as i'm using Qt in a plugin to draw in an NSView provided by the host. is this a bug or a feature? and what is the best way to work around it? thanks a lot, tim _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest