Defect #265
not working as expected
100%
Description
I'm not sure what's wrong but when I copy the new style sheet in, the labels on tab panels display above the tab panels vertically and the tabs themselves disappear. I tried to attach a before and after screenshot to demonstrate. FYI - this is a form-in-dialog, not sure if that's the problem.
Files
History
Updated by Harjo Kompagnie about 14 years ago
- Status changed from In Progress to New
I'm not sure what happens there!, It looks like the whole style is not applied!! (see the blue border of the FID)
It works fine here. Did you call the override style, in your onSolutionOpen??
Updated by MS Health about 14 years ago
Maybe that is the problem, I don't use the "new" login security, which is where, I think, the onSolutionOpen method is. I'm calling it from the onOpen method and maybe it won't work that way.
Updated by MS Health about 14 years ago
Though the wiki example says it should work with onOpen. Here are the first few lines of that method:
globals.gnclienttype = application.getApplicationType();
// set special css for webclient
if (globals.gnclienttype ==5)
{
application.setUIProperty(APP_WEB_PROPERTY.WEBCLIENT_TEMPLATES_DIR, 'custom');
}
Updated by Harjo Kompagnie about 14 years ago
Michael, what Servoy version are you using? I use it also in: onOpen (my method is called onSolutionOpen)
please just try directly:
application.setUIProperty(APP_WEB_PROPERTY.WEBCLIENT_TEMPLATES_DIR, 'custom');
the smart-client will just ignore that!!
Updated by MS Health about 14 years ago
Sorry, my fault, I installed it incorrectly. One thing - the close button in FID is no longer visible, you can click it and it closes the form, but you can;t see it. Any ideas?
Updated by MS Health about 14 years ago
OK, the close button image isn't found because the CSS specifies a different folder:
/*Styling the dialog close button*/
div.wicket-modal div.w_blue a.w_close {
background-image: url(/servoy-webclient/templates/directmanager/images/delete.png) !important;
background-image: url(/servoy-webclient/templates/directmanager/images/delete.png) !important;
}
I changed it to "/servoy-webclient/templates/custom/images/delete.png" and it works fine.
Updated by Harjo Kompagnie about 14 years ago
ah.. you are right, will adjust that.
Thanks for reporting back
Updated by Harjo Kompagnie about 14 years ago
- Status changed from In Progress to Resolved
- Assignee set to Harjo Kompagnie
- % Done changed from 0 to 100
I have adjusted the wrong path, in the CSS and uploaded a new custom.zip under Files.