XUL:Panel Improvements: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 37: Line 37:


;Background drag to move: The panel can be moved by dragging its background, whether there is a titlebar or not.
;Background drag to move: The panel can be moved by dragging its background, whether there is a titlebar or not.
:See [https://bugzilla.mozilla.org/show_bug.cgi?id=552982 bug 554919]. This is fairly simple to implement and could be done simply by modifying WindowDraggingUtils.jsm.
:See [https://bugzilla.mozilla.org/show_bug.cgi?id=554919 bug 554919]. This is fairly simple to implement and could be done simply by modifying WindowDraggingUtils.jsm.


;Arrow to the panel's anchor: For panels that are click outside to close, it is important to establish what target created the panel so that it can be accessed again. This target also serves in some ways as the panels "title" (although in more of a visual sense).  For instance the current bookmark panel draws a half diamond to the star icon that creates it.  The location of the half diamond needs to change based on where the panel is drawn. (moving the Firefox window to the far bottom of the screen and clicking the star demonstrates the current problem)
;Arrow to the panel's anchor: For panels that are click outside to close, it is important to establish what target created the panel so that it can be accessed again. This target also serves in some ways as the panels "title" (although in more of a visual sense).  For instance the current bookmark panel draws a half diamond to the star icon that creates it.  The location of the half diamond needs to change based on where the panel is drawn. (moving the Firefox window to the far bottom of the screen and clicking the star demonstrates the current problem)
287

edits

Navigation menu