Fix #21039 - Inspector: some elements have wrong sizes

Fix #21039 - Inspector: VBox height, HBox width and Spacer gap have wrong values.

Fixed by changing the type of P_BOX_HEIGHT, P_BOX_WIDTH and P_SPACE properties