Adding layout constraints to stock edit view