Scaling of elongation transition thickness during thin-film growth on weakly interacting substrates