ios - How do I set a top layout constraint for a stack view that is embedded in another stack view? -


image

i want set vertical gap of 5px between give label , top of givelabelstack view. when set using layout constraints, error; see below. stack view automatically adds constraint of give.top = givelabelstack.top. in addition, can't select delete , remove constraint.

can't delete constraint

on image, can't select give.top = givelabelstack.top remove.

does how can achieve this?

thanks

put label inside own vertical stack view (which inside horizontal givelabelstack). set vertical stack view's top layout margin 5.

before:

before stack

after:

after stack

here's set stack view's layout margins:

setting layout margins


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -