mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1198331 - Titles in sidebar aren't cropped and cross borders between tabs (titles are to long in some locales). r=pbrosset
This commit is contained in:
parent
7f7156dbed
commit
bb1aabfc68
@ -225,6 +225,7 @@ ToolSidebar.prototype = {
|
||||
this._tabbox.tabs.appendChild(tab);
|
||||
tab.setAttribute("label", ""); // Avoid showing "undefined" while the tab is loading
|
||||
tab.setAttribute("id", this.TAB_ID_PREFIX + id);
|
||||
tab.setAttribute("crop", "end");
|
||||
|
||||
// Add the tab to the allTabs menu if exists
|
||||
let allTabsItem = this._addItemToAllTabsMenu(id, tab, selected);
|
||||
|
@ -319,18 +319,25 @@
|
||||
handleCtrlTab="false">
|
||||
<tabs>
|
||||
<tab id="headers-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.headers;"/>
|
||||
<tab id="cookies-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.cookies;"/>
|
||||
<tab id="params-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.params;"/>
|
||||
<tab id="response-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.response;"/>
|
||||
<tab id="timings-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.timings;"/>
|
||||
<tab id="security-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.security;"/>
|
||||
<tab id="preview-tab"
|
||||
crop="end"
|
||||
label="&netmonitorUI.tab.preview;"/>
|
||||
</tabs>
|
||||
<tabpanels flex="1">
|
||||
|
Loading…
Reference in New Issue
Block a user