Closed Bug 556758 Opened 14 years ago Closed 14 years ago

Remove close button dead space in toolbar

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mfinkle, Assigned: mfinkle)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Currently, Fennec uses visibility: hidden to show/hide the close button in the URL toolbar. This means a dead space is created when the close button is not shown and the app is not running fullscreen or a full screen dialog is not open. Originally, we did this to keep the URL edit box from growing/shrinking as the close button became visible.

On the N900 the dead space should never happen. The app runs fullscreen all the time, so the button is always visible.

On desktop and Android the dead space is more apparent.

This patch switches to visibility: collapse so the dead space goes away. The URL edit box does grow/shrink, but that might be of less concern.
Attachment #436679 - Flags: ui-review?(madhava)
Attachment #436679 - Flags: review?(21)
On Android, we'll likely use the hardware back button to exit from full screen
dialogs, so we won't need the back button in the awesomescreen anyway.
Attachment #436679 - Flags: ui-review?(madhava) → ui-review+
pushed:
http://hg.mozilla.org/mobile-browser/rev/0d6158cef87d

We can add the android changes in a new bug.
Assignee: nobody → mark.finkle
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: