I create a panel in chrome extension like the following code:
chrome.windows.create({
type: 'panel',
url: 'panel.html',
height: 700,
width: 350,
focused: true
}, function(popup) {
popupId = popup.id;
chrome.windows.update(popupId, {focused: true});
console.log(popup.height);
});
however, the height of the panel is not 700, but 520, and the panel height seems associated with the resolution ratio of screen, when I change to 1024x768, the panel height becomes 364. So it's very strange, I was confused by two days and I don't know how to fix this problem. Anyone can give some advice? Thanks very much...
anyone can help me? or give me some suggest,thanks in advance
--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-extensions@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/40db95ea-db4f-47b0-8204-548383082dd8%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.