当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

How to fix the row height of messages and add space to the bottom?

  • 3 件の返信
  • 0 人がこの問題に困っています
  • 最後の返信者: Wayne Mery

more options

I just updated to the latest version of Thunderbird after not updating for well over a year now, so I'm late to the "hate on Thunderbird devs" party. The font changes, as I'm sure have been mentioned a million times, is a disaster. I've already wasted several hours on this.

I managed to fix the core font size issue with, which fixed MOST of the problems:

layout.css.devPixelsPerPx = 1.12

However, I can't figure out how to increase the row height of the message area. If I switch from Compact mode to Default, everything in the folder pane gets far too big (and, yes, I reset devPixelsPerPx as a test) and the message area rows are too tall.

In addition, I want a few pixels at the bottom of the message area so that when a new message comes in, I see a few pixels of the top of the new message without having to scroll.

If you are having trouble visualizing what I want:

Per row of each message: 1px padding at the top + 18px main area + 1px padding at the bottom (i.e. 20 px total). After the last row: 3px (or so) to display just enough pixels to show the next message whenever it arrives.

Using the browser toolbox, I see that the height of each row is defined using an inline style. So I can't apply CSS to fix it globally in a custom stylesheet. Using the Inspector, I can temporarily change the inline style of a single row to "height: 20px" and it displays the row as I want it to be displayed. However, this doesn't solve the other problem of putting a few pixels at the end of the messages to display a few pixels of a new message when it arrives. I also tried modifying the selector "table[is="tree-view-table"] & td" to hardcode a 20px height and added a 3px padding to the bottom, which works to solve BOTH problems BUT introduces a bug where switching folders no longer scrolls to the bottom of the list of messages. My guess is that Thunderbird is calculating where to scroll to based on the assumption that the row height is exactly 18px. So using CSS alone is not really possible.

What a mess.

I just updated to the latest version of Thunderbird after not updating for well over a year now, so I'm late to the "hate on Thunderbird devs" party. The font changes, as I'm sure have been mentioned a million times, is a disaster. I've already wasted several hours on this. I managed to fix the core font size issue with, which fixed MOST of the problems: layout.css.devPixelsPerPx = 1.12 However, I can't figure out how to increase the row height of the message area. If I switch from Compact mode to Default, everything in the folder pane gets far too big (and, yes, I reset devPixelsPerPx as a test) and the message area rows are too tall. In addition, I want a few pixels at the bottom of the message area so that when a new message comes in, I see a few pixels of the top of the new message without having to scroll. If you are having trouble visualizing what I want: Per row of each message: 1px padding at the top + 18px main area + 1px padding at the bottom (i.e. 20 px total). After the last row: 3px (or so) to display just enough pixels to show the next message whenever it arrives. Using the browser toolbox, I see that the height of each row is defined using an inline style. So I can't apply CSS to fix it globally in a custom stylesheet. Using the Inspector, I can temporarily change the inline style of a single row to "height: 20px" and it displays the row as I want it to be displayed. However, this doesn't solve the other problem of putting a few pixels at the end of the messages to display a few pixels of a new message when it arrives. I also tried modifying the selector "table[is="tree-view-table"] & td" to hardcode a 20px height and added a 3px padding to the bottom, which works to solve BOTH problems BUT introduces a bug where switching folders no longer scrolls to the bottom of the list of messages. My guess is that Thunderbird is calculating where to scroll to based on the assumption that the row height is exactly 18px. So using CSS alone is not really possible. What a mess.

すべての返信 (3)

more options

layout.css.devPixelsPerPx is deprecated. If you set it to anything other than 1 you're in for trouble.

役に立ちましたか?

more options

Wayne Mery said

layout.css.devPixelsPerPx is deprecated. If you set it to anything other than 1 you're in for trouble.

Okay, that's nice. How about helping then?

役に立ちましたか?

more options

Maybe someone else - I don't do css

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。