❔ How to allow TextBlock over window in UWP/WinUI
SO basically, my text get cut after the window ends, is there any way to prevent it? i need the entire text there
12 Replies
my text get cut after the window endshuh?
look
its like not rendering
I really don't know what I'm looking at
you have text that's getting cut off?
Yes
Looks like everything beyond a full screen height is getting clipped.
I don't know UWP well enough to solve this, but in WPF, you would ensure
ClipToBounds="False"
. I don't think that property exists in UWP, but there's https://learn.microsoft.com/en-us/windows/communitytoolkit/extensions/uielementextensions through the community toolkit that might help.
Clipping is going to depend on the parent control that contains the TextBlock
.
You can try asking in $uwp for second opinions. I don't think translating a TextBlock
is the best approach here, but I'm not sure what is better (and smooth) without a lot of effort. Maybe put the TextBlock
in a ScrollViewer
, hide the scrollbar, and animate the scrolling.Though the text starts from the bottom of the window, so you'd need to adjust for that too.
Alright thanks ill try ot
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.