Hi,
I try to display a tooltiptext on a buton. And I encounter some problem. I have coded like this :
cmd_return.setToolTipText("<html><head></head><body bgcolor = " +
"\"#99c015\" font color = \"#f6fa4b\" " +
"style=\"margin-top:0px;margin-bottom:0px;" +
"margin-left:10px;margin-right:10px\">" +
"Ce bouton permet de retourner<br> vers " +
"la fenêtre précédente</body></html>");
the background color doesn't occupe the maximum of body area.
You see in the tooltiptext a blue color , 10px margin on left and right. I think it's the default color of
the tooltiptext.
you can see the gif image in attach file.
Some one can help me. plz