搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.0 you're in for trouble.

由Wayne Mery于修改

有帮助吗?

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

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题