Closed Bug 649983 Opened 15 years ago Closed 14 years ago

Use more vertical space for dialogs

Categories

(Firefox for Android Graveyard :: General, defect, P3)

x86
Linux
defect

Tracking

(firefox5 affected, firefox7 fixed)

VERIFIED FIXED
Firefox 7
Tracking Status
firefox5 --- affected
firefox7 --- fixed

People

(Reporter: mfinkle, Assigned: wesj)

References

Details

Attachments

(5 files)

The dialog theme changes in Bug 618989 reduced the maxHeight we use on dialogs, limiting the amount of content we can show in a large dialog. Let's extend the maxHeight to match the margin on the width.
Attached image screenshot
You can see in this screenshot that the dialog content is limited because of the extra space left above and below the dialog. Using more vertical space will help some dialogs display more content.
Priority: -- → P3
This happens because of rule .perm-modal-block { -moz-box-align: center; } This rule force the box to fit the size of it's content but fail for some reason in this case. I don't think we want to remove this rule since it makes things simplier for all the other dialogs. For example adding some padding at the bottom of the box with the class prompt-message fix this bug (not sure why thouhg)
Plz to be fixing this for Firefox 5 kthxbai :)
Attached patch HackyPatchSplinter Review
Hack to add pading like vivien suggested, and only apply it to the sync dialog.
Attachment #536915 - Flags: review?(mark.finkle)
Comment on attachment 536915 [details] [diff] [review] HackyPatch Tested on nexus one or some device that showed it fixed the issues, I assume
Attachment #536915 - Flags: review?(mark.finkle) → review+
A small comment before check-in would be nice if we don't want this hack to be removed during a clean-up.
Target Milestone: --- → Firefox 7
Assignee: nobody → wjohnston
Attached image Nightly (06/14)
Is this correct? See attached screenshot. Looks like it still needs a height tweak adjustment.
(In reply to comment #10) > Is this correct? See attached screenshot. No. I see no change at all! Should we reopen?
probably due to the gingerbread theme
Follow up patch for gingerbread.
Attachment #539243 - Flags: review?(mark.finkle)
Attachment #539243 - Flags: review?(mark.finkle) → review+
Whiteboard: [inbound]
Gingerbread patch merged from mozilla-inbound to mozilla-central: http://hg.mozilla.org/mozilla-central/rev/e10723691732
Whiteboard: [inbound]
Verified fixed Mozilla/5.0 (Android; Linux armv7l; rv:7.0a1) Gecko/20110616 Firefox/7.0a1 Fennec/7.0a1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: