Does the word "tact" have the same definition in the next two sentences?

I used tact when I told my fat uncle that his extra weight made him look better.

By the use of tact, she was able to calm her jealous husband.
the same meaning