Skip to content
Commit ad0d5f5b authored by shenleban tongying's avatar shenleban tongying Committed by Bharadwaj Raju
Browse files

fix alignment of the number pad and display

`setSizePolicy(0)` is `QSizePolicy::Fixed` and the left pad still occupy space which causes misalignment on the left side.

Before:

![image](/uploads/434f859d3eb9c5e551a56ec6832e54d8/image.png)|||![image](/uploads/b9fdf4cc302d39d19723af6d6e741dec/image.png)

After:

![image](/uploads/00fd81a42948f67865bd0f6258530f7a/image.png)

This won't break other modes.

![image](/uploads/795f6543440b5d8bed98537bf7942087/image.png)
parent 0020b823
Pipeline #307012 passed with stage
in 1 minute and 24 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment