Skip to content

Commit

Permalink
preferences UI updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Feb 21, 2019
1 parent a1cf11d commit 893631c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
19 changes: 1 addition & 18 deletions chrome/content/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ ReplyWithHeader.Prefs = {
ReplyWithHeader.byId('abtRwhCaption').value = ReplyWithHeader.addOnName + ' v' + ReplyWithHeader.addOnVersion;

let d = new Date();
ReplyWithHeader.byId('abtRwhCopyrights').value = 'Ⓒ ' + d.getFullYear() + ' Jeevanandam M.'
ReplyWithHeader.byId('abtRwhCopyrights').value = 'Ⓒ 2015-' + d.getFullYear() + ' Jeevanandam M.'

this.loadFontFaces();

Expand Down Expand Up @@ -298,23 +298,6 @@ ReplyWithHeader.Prefs = {
if (rwhhost.isMacOSX) {
ReplyWithHeader.byId('hboxFromAttribution').style.marginTop = '-10px';
ReplyWithHeader.byId('hboxCntFormat').style.marginTop = '-10px';
} else if (rwhhost.isWindows) {
ReplyWithHeader.byId('hdrFontsize').style.marginLeft = '6px';
ReplyWithHeader.byId('spaceBeforeSep').style.marginLeft = '.63em';
ReplyWithHeader.byId('hdrSepLineSize').style.marginLeft = '4.15em';
ReplyWithHeader.byId('abtRwhLogo').style.marginLeft = '132px';
ReplyWithHeader.byId('abtRwhCopyrights').style.marginLeft = '-133px';
ReplyWithHeader.byId('hboxRwhBtn').style.marginLeft = '95px';
ReplyWithHeader.byId('hboxEnableRwhDebugMode').style.marginLeft = '170px';
ReplyWithHeader.byId('hboxDonateBtn').style.marginLeft = '16px';
} else if (rwhhost.isLinux) {
ReplyWithHeader.byId('hdrFontsize').style.marginLeft = '7px';
ReplyWithHeader.byId('spaceBeforeSep').style.marginLeft = '0px';
ReplyWithHeader.byId('hdrSepLineSize').style.marginLeft = '4.05em';
ReplyWithHeader.byId('abtRwhLogo').style.marginLeft = '110px';
ReplyWithHeader.byId('abtRwhCopyrights').style.marginLeft = '-164px';
ReplyWithHeader.byId('hboxRwhBtn').style.marginLeft = '65px';
ReplyWithHeader.byId('hboxDonateBtn').style.marginLeft = '19px';
}
}
};
Expand Down
1 change: 1 addition & 0 deletions chrome/content/rwh-prefs.xul
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
<image id="abtRwhLogo" src='chrome://replywithheader/skin/icon-64.png' width='64' height='64' />
<label id="abtRwhCaption" value="ReplyWithHeader" style="font-weight:bold;" />
<label id="abtRwhCopyrights" value="&#169; Jeevanandam M." style="font-size:12px;" />
<label id="abtRwhCopyrightsNotes" value="All rights reserved." style="font-size:12px;" />
</vbox>
<vbox align="center" style="margin-top: 60px">
<hbox id="hboxRwhBtn" align="center">
Expand Down

0 comments on commit 893631c

Please sign in to comment.