c# - WPF container artifacts when content is more than container -


i'm creating styles control , faced strange problem.

just compare:

  • the normal slider: normal slider
  • what when decrease image container: slider artifacts

what is? that's not border, i'm not use borders or that. affect's not images. it's example. how avoid behavior?

the code when decreased container(thumb) size:

<track.thumb>     <thumb x:name="thumb" height="15" width="15">         <thumb.template>             <controltemplate targettype="thumb">                 <image source="../images/player/slider_thumb.png" height="17" width="17" />             </controltemplate>         </thumb.template>     </thumb> </track.thumb> 


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -