mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 13:45:46 +00:00
Add a corner to the panel titles.
This commit is contained in:
parent
7a5f8a0f5b
commit
d8924696e7
@ -40,6 +40,7 @@
|
||||
<html:hr/>
|
||||
|
||||
<box align="horizontal" class="sidebartitle">
|
||||
<html:img src="chrome://sidebar/skin/corner.gif" />
|
||||
<titledbutton id="paneltitle" class="borderless paneltitle" />
|
||||
<spring flex="100%" />
|
||||
</box>
|
||||
|
@ -2,6 +2,7 @@ customize-panel.css
|
||||
customize.css
|
||||
flash.css
|
||||
sidebar.css
|
||||
corner.gif
|
||||
flames.gif
|
||||
list-down-dis.gif
|
||||
list-down.gif
|
||||
|
@ -48,6 +48,7 @@ CHROME_SKIN = \
|
||||
customize.css \
|
||||
flash.css \
|
||||
sidebar.css \
|
||||
corner.gif \
|
||||
flames.gif \
|
||||
list-down-dis.gif \
|
||||
list-down.gif \
|
||||
|
BIN
xpfe/components/sidebar/resources/corner.gif
Normal file
BIN
xpfe/components/sidebar/resources/corner.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 B |
@ -44,6 +44,7 @@ CHROME_SKIN = \
|
||||
.\customize.css \
|
||||
.\flash.css \
|
||||
.\sidebar.css \
|
||||
.\corner.gif \
|
||||
.\flames.gif \
|
||||
.\list-down-dis.gif \
|
||||
.\list-down.gif \
|
||||
|
@ -40,6 +40,7 @@
|
||||
<html:hr/>
|
||||
|
||||
<box align="horizontal" class="sidebartitle">
|
||||
<html:img src="chrome://sidebar/skin/corner.gif" />
|
||||
<titledbutton id="paneltitle" class="borderless paneltitle" />
|
||||
<spring flex="100%" />
|
||||
</box>
|
||||
|
@ -101,13 +101,16 @@ function createPanelTitle(titletext, id)
|
||||
var panelbar = document.createElement('box');
|
||||
var title = document.createElement('titledbutton');
|
||||
var spring = document.createElement('spring');
|
||||
var corner = document.createElement('html:img');
|
||||
|
||||
title.setAttribute('value', titletext);
|
||||
title.setAttribute('class', 'borderless paneltitle');
|
||||
title.setAttribute('onclick', 'resize("'+id+'")');
|
||||
spring.setAttribute('flex', '100%');
|
||||
panelbar.setAttribute('class', 'panelbar');
|
||||
corner.setAttribute('src', 'chrome://sidebar/skin/corner.gif');
|
||||
|
||||
panelbar.appendChild(corner);
|
||||
panelbar.appendChild(title);
|
||||
panelbar.appendChild(spring);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user