summaryrefslogtreecommitdiff
path: root/dw/bullet.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-22 00:59:35 +0200
committerSebastian Geerken <devnull@localhost>2014-07-22 00:59:35 +0200
commit81567f3ed2175861b9b50f7cd2142d8c6c60d84c (patch)
treeef027ddf2f619f28419c7e7e59e14497fd003784 /dw/bullet.cc
parent394187dd1c45a876677dc5717674ae5eebf8d7af (diff)
Fixed incomplete intrinsic extremes.
Diffstat (limited to 'dw/bullet.cc')
-rw-r--r--dw/bullet.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dw/bullet.cc b/dw/bullet.cc
index 0ae8ccb7..79b1c3ec 100644
--- a/dw/bullet.cc
+++ b/dw/bullet.cc
@@ -46,6 +46,8 @@ void Bullet::getExtremesImpl (core::Extremes *extremes)
{
extremes->minWidth = extremes->maxWidth =
lout::misc::max (getStyle()->font->xHeight * 4 / 5, 1);
+ extremes->minWidthIntrinsic = extremes->minWidth;
+ extremes->maxWidthIntrinsic = extremes->maxWidth;
}
void Bullet::containerSizeChangedForChildren ()