Im using your Dialogs library. Im adding a view (specifically the xnObject grid) which I would like to fill the entire custom dialog..
The grid is 400 pixels wide but for some reason the width of the CustomDialog is larger. I can never fill the entire dialog with the contents of the grid.
Ive tried CustomDialog and CustomeDialog2.
CustomDialog leaves a gap (160 pixels) on the right of the grid.
CustomDialog2 centres the grid but there are still gaps (80 pixels) on either side of the grid.
I'm afraid that I don't understand the problem. I can add a Panel to a Custom dialog that occupies the whole width of the dialog. Bear in mind that the dialog doesn't extend to the entire width of the screen.
No I didn't. I think it is a device specific issue which is probably why agraham doesn't have it. My device is Asus Transformer 10" tablet, running Android 4.0.4.
Hello ! every one. I think the problem come from this command: Dialogue.Show("","OUI", "Annuler", "Non", Null) . As you can see, I leave the Title empty. It work correctly that way. You just add a label if you want to have a title . Hope it's help
Hello ! every one. I think the problem come from this command: Dialogue.Show("","OUI", "Annuler", "Non", Null) . As you can see, I leave the Title empty. It work correctly that way. You just add a label if you want to have a title . Hope it's help
Confirmed, as soon as I add title text the padding is introduced.
Also, it seems to be a problem with the dialog and not the view/panel. The view/panel appear to be the correct dimensions but the dialog is not the correct width.
The attached images are the exact same code (apart from the title). Notice how the grid is consistent in size.