summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-01-31 17:10:26 +0100
committerJan Holesovsky <kendy@suse.cz>2012-01-31 17:10:26 +0100
commit03e17a141fbb4e1242de9d9979b5b699e6840454 (patch)
treeb6c99dab2c28b00e15891bd5d44cc88cea729b56 /wizards
parent797f19ffdaee125726d1db3d230f666093e4b5f8 (diff)
Fix fdo#42543: Don't paint a frame around the list of edit boxes.
This conflicts with commit efc6b840a0423099d6c3e0d33c14d34637fbba4c that reorders painting of windows when they overlap; and in this case, the frame image paints over the controls. The sideeffect is that the dialog looks nicer ;-)
Diffstat (limited to 'wizards')
-rw-r--r--wizards/com/sun/star/wizards/ui/ControlScroller.java23
1 files changed, 0 insertions, 23 deletions
diff --git a/wizards/com/sun/star/wizards/ui/ControlScroller.java b/wizards/com/sun/star/wizards/ui/ControlScroller.java
index c9aeee627247..a04d1c178736 100644
--- a/wizards/com/sun/star/wizards/ui/ControlScroller.java
+++ b/wizards/com/sun/star/wizards/ui/ControlScroller.java
@@ -39,7 +39,6 @@ public abstract class ControlScroller
protected WizardDialog CurUnoDialog;
protected XMultiServiceFactory xMSF;
- private Object oImgControl;
protected int ncurfieldcount;
protected int nblockincrement;
private int nlineincrement;
@@ -113,17 +112,6 @@ public abstract class ControlScroller
int ScrollHeight = iCompHeight - 2;
nlineincrement = 1;
sIncSuffix = com.sun.star.wizards.common.Desktop.getIncrementSuffix(CurUnoDialog.getDlgNameAccess(), "imgBackground");
- oImgControl = CurUnoDialog.insertControlModel("com.sun.star.awt.UnoControlImageControlModel", "imgBackground" + sIncSuffix,
- new String[]
- {
- PropertyNames.PROPERTY_BORDER, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_STEP, PropertyNames.PROPERTY_WIDTH
- },
- new Object[]
- {
- new Short("1"), new Integer(iCompHeight), ICompPosX, new Integer(iCompPosY), IStep, ICompWidth
- });
- oImgControl = CurUnoDialog.xDlgContainer.getControl("imgBackground" + sIncSuffix);
- setComponentMouseTransparent();
xScrollBar = CurUnoDialog.insertScrollBar("TitleScrollBar" + sIncSuffix, 0,
new AdjustmentListenerImpl(),
new String[]
@@ -143,17 +131,6 @@ public abstract class ControlScroller
}
}
- public void setComponentMouseTransparent()
- {
- CurUnoDialog.getPeerConfiguration().setPeerProperties(oImgControl, new String[]
- {
- "MouseTransparent"
- }, new Boolean[]
- {
- Boolean.TRUE
- });
- }
-
protected void setScrollBarOrientationHorizontal()
{
Helper.setUnoPropertyValue(xScrollBar, PropertyNames.ORIENTATION, new Integer(ScrollBarOrientation.HORIZONTAL));