REALLY low priority, but…
it’d be nice to be able to change the color of the headers in a table view. This seems to be the last bit of screen area that we can’t color for the user.
Probably a nice revision for Servoy 12.8?
REALLY low priority, but…
it’d be nice to be able to change the color of the headers in a table view. This seems to be the last bit of screen area that we can’t color for the user.
Probably a nice revision for Servoy 12.8?
If you use html(with color info) in the field title property, I think it already works
I know this is pretty basic, but could you elaborate a bit? The best I could get was with “”, which colored the background of the text in the headings, but not the grey block that the text was in.
Probably bad syntax. I don’t write a lot of html.
<html><font color="red">hi</font></html>
Not the font color, nor the background of the text. The whole gray block that is the header.
try this:(set a fixed width of eg 100px in the table tag)
<table bgcolor="red" width="100">
<tr>
<td>
myField
</td>
</tr>
</table>
Thanks Maarten.
I think I’d rather leave the gray than take away the resizing ability just to get a color, though.
If this ever becomes a property, I’ll use it, but this isn’t critical, anyway. For now, I’ll just keep the gray.
Chris,
You could over state the HTML table width like this: (eg 800px)
<table bgcolor="red" width="800">
<tr>
<td>
myField
</td>
</tr>
</table>
Column resizing ability in Servoy is unaffected.
That’d work! Thanks, Jody!
In reality, though, I think I’ll still wait until it’s a property, if ever. Setting html for every header of every table just isn’t worth it.
Still and all, not a big deal. Nice to know now how I can do it if I really need to, though.
What is wrong with setting the table with to 100%?
This way you anticipate ANY width.
<table bgcolor="red" width="100%">
I attemped to do the same thing at first. Setting table width to 100% does not work. It will in fact set to 100% of the initial column width. However, when you manually expand the column the bgcolor does not follow.