I have no experience in this matter and I think gambling is not related to the relationship and it's only about the games. and if we play the games with our friends, we need to tell them that what we have to get in the end will not disturb our friendship and it's only to have some fun with them. I guess if we can explain to them that we are playing gambling is to get fun in the games and not chase the money, I think they will understand.
Gambling and relationship is very important, just thinking ourselves and not thinking about other people that we love might affect our relationship to them. Look, if you are paying too much attention in gambling, and only spending your little time that you have to your family, you might come to a point where you are completely into gambling, the feelings of your love ones is not important to you anymore because of your addiction.
It must be 80:20, 80% time for you family, and just 20% time for playing gambling.