✅ Problems with wrapping in wpf Listbox
I'm using an listbox to to list multiple options with an image and title. But I want to let my title wrap when smaller etc but I can't seem to do it ... You can see it in image and my code for the box. Should I use listbox for this or an other control? I really need the scroll option for it. (this is still early with some placeholder stuff)
5 Replies
What about
TextWrapping="Wrap"
instead of TextWrapping="WrapWithOverflow"
?
Also, this seems to be quite a corner case where the text just barely touches the image. You can maybe introduce some margin on the right side with Margin="0, 0, 5, 0"
on your textblocktried also doesn't work...
Oh yeah wanted to first try to get everything kind of working and then looking for font,size, colors etc
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity./close -
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.