Closed 0xLeif closed 4 years ago
Currenty you must use the configure method
configure
Label("Hello World").configure { $0.setContentHuggingPriority(.defaultHigh, for: .vertical) }
Expected
Label("Hello World") .setVertical(huggingPriority: .defaultHigh)
Also Expected
Label("Hello World") .setVertical(huggingPriority: .defaultHigh) .setHorizontal(huggingPriority: . defaultLow) .setVertical(compressionResistancePriority: .defaultLow) .setHorizontal(compressionResistancePriority: .defaultHigh)
Currenty you must use the
configure
methodExpected
Also Expected