Prevent overflow of pagination bar with Ahem font (#7977)
Once engine commit d49a6b110bced49fa318b0dd45bf409218df9ee5 rolls into Flutter rolls in, we get correct font metrics for the Ahem font, used in headless sky_shell test runs. Ahem has much wider glyphs than the system font, which causes the PaginatedDataTable bottom bar to be much wider and overflow the previous and next controls offscreen. This commit reduces the number of rows such that the prev/next controls are still just barely onscreen.
This commit is contained in:
parent
428023ceeb
commit
7425940d5b
@ -32,7 +32,7 @@ class TestDataSource extends DataTableSource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get rowCount => 500 * kDesserts.length;
|
int get rowCount => 50 * kDesserts.length;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool get isRowCountApproximate => false;
|
bool get isRowCountApproximate => false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user