Panel have different size when firefox window maximized

18 views
Skip to first unread message

Eugene Eugene

unread,
May 23, 2012, 10:32:32 AM5/23/12
to mozilla-la...@googlegroups.com

I have panel associated with widget. All seems okay, but when browser window maximized panel opens with auto scrolling (see pic.). It happens on Win, Vista, XP. On Ubuntu netbook it alwase has scrolling bars. FF12.0 latest stable. What's wrong?

var somePanel = require("panel").Panel({
  width: 380,
  height: 131,
  contentURL: data.url("popup.html"),
  onShow: function() {this.resize(380, 131)}
});

var widget = widgets.Widget({
  id: "heheheheh",
  label: "somePanel",
  contentURL: self.data.url("48x48_no.png"),
  panel: somePanel
});

        
I found now that this happens when widget is the first on the bottom addons panel. And when browser window is to close to right border of screen panel resized automaticaly.

Eugene Eugene

unread,
May 23, 2012, 10:46:32 AM5/23/12
to mozilla-la...@googlegroups.com


среда, 23 мая 2012 г., 17:32:32 UTC+3 пользователь Eugene Eugene написал:


Reply all
Reply to author
Forward
0 new messages