Allow setting a custom resolution

Issue : none

- When "Other.." is selected is "Resolution" comboBox, open a dialog
to set a custom size.
- Fix text "background" property bug
- Fix margin right and bottom bug
- Save the text "background" and "margin" properties in the .apf project
file

Signed-off-by: juiice <decaen.julien@gmail.com>