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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -