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)
|
if (m_withText && text != null)
|
||||||
{
|
{
|
||||||
button.setSrc("images/"+name+"16.png");
|
button.setImage("images/"+name+"16.png");
|
||||||
button.setLabel(text);
|
button.setLabel(text);
|
||||||
LayoutUtils.addSclass("action-text-button", button);
|
LayoutUtils.addSclass("action-text-button", button);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
button.setSrc("images/"+name+"24.png");
|
button.setImage("images/"+name+"24.png");
|
||||||
if (text != null)
|
if (text != null)
|
||||||
button.setTooltiptext(text);
|
button.setTooltiptext(text);
|
||||||
LayoutUtils.addSclass("action-button", button);
|
LayoutUtils.addSclass("action-button", button);
|
||||||
|
|
Loading…
Reference in New Issue