N
N
Nadeko2015-12-29 22:06:42
Mobile development
Nadeko, 2015-12-29 22:06:42

How to specify the size of objects in GridView?

How to specify the size of the GridView objects so that they are located on the screen in several columns, taking up the entire space (without black bars, as, for example, when viewing 720p, I saw it on a 4:3 display)?
What I've tried:
* Auto: Objects are arranged in 1 column.
* px: I tried to specify the values ​​in pixels, but I couldn't find the width/height for all emulators/devices. Something always looks wrong somewhere.
In Windows 8.1, I simply selected the values ​​in pixels, focusing on the 10.6" 1366x768 emulator and got a more or less adequate result (I checked it on 10.6" 1920x1080 and 23.6" 1920x1080 displays), but for some reason it doesn't work on WP 8.1.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Zolotov, 2015-12-30
@SZolotov

* (asterisk)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question