that's true, but schengen visa is another list of requirements so then try to get multi entry visa to UK then another for Spain if even possible due to such weak passport
Considering it's two different visa you need for her and unsure if Thai's take holiday inside a holiday. But I would ask Thai embassy in UK if she can travel to schengen country while on tourist visa to UK