Toolbar doesn't show any Icons [message #1690876] |
Tue, 31 March 2015 17:56 |
|
Hello there,
I'm using the mars release and unfortunately the toolbar doesn't show any icons although I added them to my AbstractFormToolButton's:
@Order(1000.0)
public class SearchTool extends AbstractFormToolButton {
@Override
protected String getConfiguredIconId() {
return AbstractIcons.SmartFieldBrowse;
}
@Override
protected String getConfiguredText() {
return TEXTS.get("Search");
}
@Override
protected boolean getConfiguredToggleAction() {
return false;
}
@Override
protected void execAction() throws ProcessingException {
SERVICES.getService(ICreateUserService.class).createUser("peter", "peter", 100);
}
}
@Order(2000.0)
public class AboutTool extends AbstractFormToolButton {
@Override
protected String getConfiguredIconId() {
return AbstractIcons.StatusInfo;
}
@Override
protected String getConfiguredText() {
return null;
}
@Override
protected boolean getConfiguredToggleAction() {
return false;
}
@Override
public void execAction() throws ProcessingException {
ScoutInfoForm form = new ScoutInfoForm();
form.startModify();
}
}
@Order(3000.0)
public class LogoffTool extends AbstractFormToolButton {
@Override
public void execAction() throws ProcessingException {
ClientJob.getCurrentSession(ClientSession.class).stopSession();
}
@Override
protected String getConfiguredIconId() {
return AbstractIcons.Gears;
}
@Override
protected String getConfiguredText() {
return null;
}
@Override
protected boolean getConfiguredToggleAction() {
return false;
}
}
And here is how it looks like:
Is it related to Scout or RAP itself?
Regards,
Peter
[Updated on: Tue, 31 March 2015 18:01] Report message to a moderator
|
|
|
|
Re: Toolbar doesn't show any Icons [message #1691068 is a reply to message #1691040] |
Thu, 02 April 2015 06:11 |
|
Hi Jeremie ,
Jeremie Bresson wrote on Wed, 01 April 2015 19:24When you mentioned it in this other thread, I tried and managed to reproduce it (even with Luna).
That's why I started a new thread
Jeremie Bresson wrote on Wed, 01 April 2015 19:24
I am pretty sure that there is a workaround, because the icons are displayed in the demo widget application (live demo, source). I just need to figure out how this is done.
I thought so too... So it seems a bug in the Scout SDK?
Regards,
Peter
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02717 seconds