(Please note: this is a repost/crosspost mess, but it contains good 
information.  Origonally posted in netscape.public.mozilla.mail-news
with title "[[Working Hack]] - Re: Oops, the header pane vanished")

-----------------------------------------------------------------
Hello All,
   I have made a few eye-candy related improvements to this hack.  See
attached .txt file for the code block.  Sorry for not making a 
.diff...this was quicker.

As said before, the code should replace all of the <grid></grid> block
located in the msgHdrViewOverlay.xul, which is stored in the 
messenger.jar file.

Before attempting this hack make sure Mozilla is completely closed. 
Make the change to the .xul file, and then add the .xul file back to the 
.jar. Make sure the modified .xul file's path in the .jar file is
"content\messenger\" (THIS IS VERY IMPORTANT).

Now you should restart Mozilla (Mail-&-News) and have nice looking (and
working) expandable/collapsible headers!  SWEET!

Enjoy,
   J Mosser.


-----------------------------------------------------------------
Juergen Heckel wrote:

> dman84 schrieb:
> 
>>but it if you open the twisty then close the twisty again.. the header
>>disappears still, and will not come back till a reload of Mozilla..
>>that is also 2001-11-07-03 nightly W2K.  Doing a view headers->All does
>>nothing.
>>
>>
> 
> Hi,
> you are right partially:
> headers = normal --> open and close are working again;
> headers = all    --> after closing the headers disappear.
> 
> 
> Juergen
> 

<hbox id="collapsedHeaderView" class="header-part1" flex="1" collapsed="true">
    
    <hbox class="collapsedToggleHdrBox" align="top" pack="center">
        <image id="toggleHeaderView" class="collapsedHeaderViewButton" 
onclick="ToggleHeaderView();"/> 
    </hbox>
    
    <hbox id="collapsedsubjectBox" collapsed="true" crop="right" flex="1"> 
        <label class="collapsedHeaderDisplayName" value="&subjectField.label;"/>
        <text id="collapsedsubjectValue" class="collapsedHeaderValue" crop="right" 
flex="1"/>
    </hbox>
            
    <hbox id="collapsedfromBox" collapsed="true">
        <label class="collapsedHeaderDisplayName" value="&fromField.label;"/> 
        <mail-emailaddress id="collapsedfromValue" flex="1"/>
    </hbox>
    
    <hbox style="text-align: right;" id="collapseddateBox" collapsed="true">
        <text id="collapseddateValue" class="collapsedHeaderValue"/>
    </hbox>
    
    <hbox id="collapsedAttachmentBox" hide="true" >
        <image id="collapsedAttachment" class="collapsedAttachmentButton" 
onclick="ToggleHeaderView();" /> 
    </hbox>
</hbox>

Reply via email to