Closed Bug 972935 Opened 11 years ago Closed 11 years ago

sdk/ui/toolbar elements shouldn't be vertically scrollable unless actually necessary.

Categories

(Add-on SDK Graveyard :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 968814

People

(Reporter: KWierso, Unassigned)

Details

I'm trying to add a toolbar to my add-on. To start with, it's just going to be a single row of several text links. When I place my cursor over the toolbar, I'm able to scroll it up and down, so that my toolbar items are no longer visible. I don't think this should be the default behavior. My main.js: var { Toolbar } = require("sdk/ui/toolbar"); var { Frame } = require("sdk/ui/frame"); var treestatusframe = new Frame({ url: "./treestatus.html" }); var sherifftoolbar = Toolbar({ title: "Sheriff Toolbar", items: [treestatusframe] }); treestatus.html: <html> <body> <div> <a href="https://treestatus.mozilla.org">Go to treestatus</a> </div> </body> </html> The scrollbars appear even if treestatus.html is completely empty. If I set "items" to be an empty [], the scrollbars do not appear.
this looks an awful lot like bug 968814..
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.