I've been created a grid like screen, building .
I've noticed a weird behaviour, where when I reduce the height of the windows the app is displayed in (for instance, from a standard 16/9 to 16/4), the templates seem to have padding in between them:
The normal view:
what happens when I reduce the height of the windows (say tile the browser to the bottom/top half of the screen)
This also happens in a standard gallery I have within the app
(Notice below how each item has extra padding on top of it)
This behaviour happens whether Grid.TemplateHeight is a fixed value or a calculated value.
All template fields have got their height set to : Height=Grid.TemplateHeight
Grid.TemplatePadding=0
This behaviour makes no sense to me, and I've lost a day banging my head against it.
Is it possible this is an internal inconsistency between using absolute and relative units (px vs percent for example)

Report
All responses (
Answers (