I noticed that some field elements don’t have that shading that goes on in the background of the field, like Text_Area.
Is there someone that can hack the standard L&F that comes with Servoy so that none of the field elements have this shading?
I noticed that some field elements don’t have that shading that goes on in the background of the field, like Text_Area.
Is there someone that can hack the standard L&F that comes with Servoy so that none of the field elements have this shading?
Why don’t you use the css. That should solve that issue… (I guess you are talking about the way borders show around a text field and a text area).
What I mean is the shading that occurs in fields that one, meaning me, can’t get rid of no matter what, because, apparently as its been explained, it’s part of the Look and Feel that Servoy uses to draw design elements.
Can you explain the CSS further, if that will do it? Upon looking at it it seems there should be a function:
background-style:
So that one, meaning anyone, may specify the following syntax:
field
{
background-color: #ffffff;
background-style: solid
border-style: inset;
font: 11pt “Verdana”;
text-align: left;
margin: 1px 2px 1px 1px;
}
Thanks!
Have your tested it? If not, attach the style to the form and you have your answer because this could be your solution. Attaching your style is very simple. Just look for your form property ‘style-name’. You will see a field that changes into a combo box holding the value list with stylenames. Ones your made your choice you should see your changes immediately.
And yes, the shading is part of your L&F but it looks like some behaviors disappear with the css.
Providence1:
field
{
background-color: #ffffff;
background-style: solid
border-style: inset;
font: 11pt “Verdana”;
text-align: left;
margin: 1px 2px 1px 1px;
}
Ahemmmm… open the “Editor” window (Methods Editor) and notice the first node is “Styles”. Click on it - double-click to open a style or right-click to create one (choose “sample” and it will create a basic shell for you).
Bob Cusick
Even though the Servoy Online Help, under an Index Search for Servoy CSS style properties, lists all the examples for CSS and background-style: is not one of them… (I did Remember reading that the “sample” shell included all the parameters/functions currently available for consumption. )
I tried my example above per your suggestion. Even quit Servoy to see if it would take hold.
That’s why instead of waiting for the CSS Property to allow the function:
background-style: solid
I was wondering if anyone got tired of the L&F as it stands and hacked it.
Hai Providence, to be honest I didn’t take a look at your css. So it could very well be that setting a background-styel won’t work that way. Sorry for that…
If it’s not in the “Sample” style - you can’t do it.
Simple.
Bob Cusick
i think im experiencing the same problem
have spent a couple of hours trying to get rid of tab panel borders using CSS. no luck
has anyone had any luck managed to loose these borders using any method at all
megaquests:
has anyone had any luck managed to loose these borders using any method at all
Well a tabpanel has 2 kind of borders the outerborder which can be controlled via css or property, and a tab border which is not modifiable.
thanks Jan,that explains it…
it looks like i have been trying to modify the tab border that cannot be modified. ill make do as it is.