c# - Problem rendering Custom "MenuItem" -


here's problem:

when open program in computer option menu rendered this: http://img811.imageshack.us/img811/1623/prob1.jpg

but when open program father's computer , brother computer menuitem renders out this: http://img203.imageshack.us/img203/3451/prob2l.jpg

as can see in computer renders text in black , in others computer renders text in white.

here's code:

<separator>     <separator.template>         <controltemplate>             <border cornerradius="2" padding="5" background="palegoldenrod" borderbrush="black" borderthickness="1">                 <textblock text="global options (are saved):" fontweight="bold" />             </border>         </controltemplate>     </separator.template> </separator> 

have tried setting texblock foreground black? (perhaps vista / 7 has black default while xp not, forcing black might help)

<textblock text="global options (are saved):" fontweight="bold" foreground="black" /> 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -