Adobe InDesign User Manual
Page 167

The default background of a QR code frame is transparent. However, you can change the Frame’s Fill and Stroke attributes such as the Color,
Line Style, and Thickness using the traditional controls.
Transform the QR code object
You can move, resize, or rotate the placed QR code object with the Selection tool. When you drag the frame’s box, only the frame resizes.
However, while dragging:
If you press the Shift key, the aspect ratio of the frame is preserved.
If you press the Ctrl (on Windows) or Command (on Mac) key, both the frame and the content scales with preserved aspect ratio.
If you press the Shift plus Alt (on Windows) or Option (on Mac) keys, the frame scales from its center with unpreserved aspect ratio. You can
press the Shift key to preserve the aspect ratio.
162