As above an element of trial and error. I've learnt to understand the relationship between the 4 components of wing, light, bonnet and bumper cover at the 'X' meeting point.
Work on getting it right one part at a time and the result will be perfect.
Light to wing first and if that all feels right then the rest follows. Biggest gap should end up under the headlight to bumper cover.