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++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -