Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 699

Rotate header of swiftui table column

$
0
0

I am trying to rotate the header of a TableColumn. I would also like it not being truncated or cropped.

This does not work:

TableColumn(Text("Column Name").rotationEffect(Angle(degrees: 45)), value: \.name))

It creates the error Initializer 'init(_:value:comparator:)' requires that 'some View' conform to 'StringProtocol'.


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>