Project

General

Profile

Defect #265

not working as expected

Added by MS Health about 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
04/08/2011
Due date:
% Done:

100%

Estimated time:
Browser (if web client):

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

webcapture1.JPG (99.7 KB) webcapture1.JPG Before applying CSS MS Health, 04/08/2011 05:21 PM
webcapture.JPG (73.8 KB) webcapture.JPG After applying CSS MS Health, 04/08/2011 05:21 PM

History

#1

Updated by Harjo Kompagnie about 13 years ago

  • Status changed from New to In Progress
#2

Updated by Harjo Kompagnie about 13 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??

#3

Updated by MS Health about 13 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.

#4

Updated by MS Health about 13 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');
}
#5

Updated by Harjo Kompagnie about 13 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!!

#6

Updated by MS Health about 13 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?

#7

Updated by MS Health about 13 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.

#8

Updated by Harjo Kompagnie about 13 years ago

  • Status changed from New to In Progress
#9

Updated by Harjo Kompagnie about 13 years ago

ah.. you are right, will adjust that.
Thanks for reporting back

#10

Updated by Harjo Kompagnie about 13 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.

#11

Updated by Harjo Kompagnie over 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF