aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-08-29 11:51:30 +0000
committerJeremias Maerki <jeremias@apache.org>2005-08-29 11:51:30 +0000
commit149680a54683a81b4bd09a9bcc2a37aa665d2629 (patch)
treea48eef1654278e99788501dba7b1aec1dd7b44aa /src/java/org
parent50eaa2dc17fe3f41bd07c3de20034203e21a9846 (diff)
downloadxmlgraphics-fop-149680a54683a81b4bd09a9bcc2a37aa665d2629.tar.gz
xmlgraphics-fop-149680a54683a81b4bd09a9bcc2a37aa665d2629.zip
Set the background traits after the BPD and IPD are set.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java b/src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java
index 4d97a4a77..4c1048241 100644
--- a/src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/list/ListBlockLayoutManager.java
@@ -213,8 +213,6 @@ public class ListBlockLayoutManager extends BlockStackingLayoutManager {
TraitSetter.setProducerID(curBlockArea, getListBlockFO().getId());
TraitSetter.addBorders(curBlockArea,
getListBlockFO().getCommonBorderPaddingBackground());
- TraitSetter.addBackground(curBlockArea,
- getListBlockFO().getCommonBorderPaddingBackground());
TraitSetter.addMargins(curBlockArea,
getListBlockFO().getCommonBorderPaddingBackground(),
getListBlockFO().getCommonMarginBlock());
@@ -224,6 +222,8 @@ public class ListBlockLayoutManager extends BlockStackingLayoutManager {
int contentIPD = referenceIPD - getIPIndents();
curBlockArea.setIPD(contentIPD);
+ TraitSetter.addBackground(curBlockArea,
+ getListBlockFO().getCommonBorderPaddingBackground());
setCurrentArea(curBlockArea);
}