The group of words, "showing off her compact figure," functions as an adverb, modifying the adjective "tight-fitting." It has no "subject" per se, although it has verb-like characteristics, and one might say that the verb form, "showing off," has a direct object, "her compact figure."
The subject of the sentence is "Her jeans," the verb is "were."