diff options
Diffstat (limited to 'twittperator/twsidebar.tw')
-rw-r--r-- | twittperator/twsidebar.tw | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw index f0c0cba..fccdfa6 100644 --- a/twittperator/twsidebar.tw +++ b/twittperator/twsidebar.tw @@ -56,6 +56,9 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { // サイドバーが閉じていても、こっそり開始しておく silentStart: false, + // 時間とかRTした人のIDとかの表示 + tweetTimeVisible: false, + // 配列かオブジェクトを返すと、変更できる。 // 文字列 "reject" を返すと、そもそもツイートが表示されなくなる。 modifier: function (msg, tab, streamName) { @@ -136,17 +139,17 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () { "width: " + px(sbWidth - 100) + ' !important' ].join(';')} xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - <hbox> - <vbox> + <hbox flex="1"> + <vbox width="48"> <image src={t.img} height="48" width="48" /> </vbox> - <vbox style={"width: " + (sbWidth - 48 - 35) + "px !important"}> - <hbox> + <vbox flex="1"> + <hbox flex="1"> <label class={nameClass} style="font-weight: bold">{escapeBreakers(t.name)}</label> <spacer flex="1"/> - <label>{t.sub || ''}</label> + {(Config.tweetTimeVisible && t.sub) ? t.sub : ''} </hbox> - <description width="100%">{escapeBreakers(t.text)}</description> + <description flex="1" style="word-break:break-all;">{escapeBreakers(t.text)}</description> </vbox> </hbox> </richlistitem>; |