minor - replace deprecated method usage
This commit is contained in:
parent
b03fc7bcd7
commit
86c0ebac2c
|
@ -111,13 +111,13 @@ public final class ConfirmPanel extends Hbox
|
|||
|
||||
if (m_withText && text != null)
|
||||
{
|
||||
button.setSrc("images/"+name+"16.png");
|
||||
button.setImage("images/"+name+"16.png");
|
||||
button.setLabel(text);
|
||||
LayoutUtils.addSclass("action-text-button", button);
|
||||
}
|
||||
else
|
||||
{
|
||||
button.setSrc("images/"+name+"24.png");
|
||||
button.setImage("images/"+name+"24.png");
|
||||
if (text != null)
|
||||
button.setTooltiptext(text);
|
||||
LayoutUtils.addSclass("action-button", button);
|
||||
|
|
Loading…
Reference in New Issue