如何根據故事板上第一個標簽的內容對齊stackview?

uj5u.com熱心網友回復:
確保左側標簽的水平 Content Hugging Priority 的值高于右側的值。確切的值無關緊要,但左邊的值必須至少比右邊的值高 1。例如,使用左側的“默認高 (750)”和右側的“默認低 (250)”。
uj5u.com熱心網友回復:
選擇左側標簽,然后從尺寸檢查器中更改水平Content Hugging Priority = 1000

轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/496757.html
