We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cab5afa commit 5b22a7bCopy full SHA for 5b22a7b
src/components/DataTable/DataTableTitle.tsx
@@ -3,6 +3,7 @@ import {
3
Animated,
4
GestureResponderEvent,
5
I18nManager,
6
+ PixelRatio,
7
Pressable,
8
StyleProp,
9
StyleSheet,
@@ -137,7 +138,7 @@ const DataTableTitle = ({
137
138
style={[
139
styles.cell,
140
// height must scale with numberOfLines
- { maxHeight: 24 * numberOfLines },
141
+ { maxHeight: 24 * PixelRatio.getFontScale() * numberOfLines },
142
// if numberOfLines causes wrap, center is lost. Align directly, sensitive to numeric and RTL
143
numberOfLines > 1
144
? numeric
0 commit comments