How to make the breaks revealing the metric?

How can I make the dorico score showing breaks like.
If I change the meter to 18/32 it make it correct either

I’ve made with pencil

Both examples show 7/16 :wink::

Top image:
1.5/16 + 1/16 + 1.5/16 + 1/16 + 2/16

Bottom image
1/16 + 3/16 + 3/16

(The music – assuming there are no tuplets – is 7/16, too).

Basically you could enter rests of the desired duration with enabled Force Duration.
Press o (Force Duration), then , (Rests), select the duration(s) and press y (The unspecified pitch).