зеркало из https://github.com/mozilla/gecko-dev.git
Make bullets a bit smaller to look better
This commit is contained in:
Родитель
19f7a6209a
Коммит
1183e898de
|
@ -558,7 +558,7 @@ BulletFrame::GetDesiredSize(nsIPresContext* aCX,
|
|||
case NS_STYLE_LIST_STYLE_BASIC:
|
||||
case NS_STYLE_LIST_STYLE_SQUARE:
|
||||
t2p = aCX->GetTwipsToPixels();
|
||||
bulletSize = nscoord(t2p * fm->GetMaxAscent() / 2);
|
||||
bulletSize = nscoord(t2p * .8 * (fm->GetMaxAscent() / 2));
|
||||
if (bulletSize < 1) {
|
||||
bulletSize = MIN_BULLET_SIZE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче