this.backgroundWidth = this.itemWidth - this.marginLeft - this.marginRight;
this.backgroundWidth = this.itemWidth - this.marginLeft - this.marginRight - labelWidth;
	protected final void init( int firstLineWidth, int lineWidth ) {		//#debug		Debug.debug("intialising item " + this.getClass().getName() );		if (this.style != null && !this.isStyleInitialised) {			setStyle( this.style );		}		//#ifdef polish.useDynamicStyles			initStyle();		//#endif		int labelWidth = 0;		int labelHeight = 0;		if (this.label != null) {			if (!this.label.isInitialised) {				this.label.init( firstLineWidth, lineWidth );			}			labelWidth = this.label.itemWidth;			labelHeight = this.label.itemHeight;		}		// calculate content width and content height:		int noneContentWidth =  			 	this.marginLeft + this.borderWidth + this.paddingLeft 				+ this.paddingRight + this.borderWidth + this.marginRight;		//#ifdef polish.useBeforeStyle			noneContentWidth += this.beforeWidth;		//#endif		//#ifdef polish.useAfterStyle			noneContentWidth += this.afterWidth;		//#endif		/*		if (noneContentWidth >= firstLineWidth) {			System.out.println("INVALID NONE CONTENT WIDTH=" + noneContentWidth);		}		*/		int firstLineContentWidth = firstLineWidth - noneContentWidth;		int availableContentWidth = lineWidth - noneContentWidth;		// initialise content by subclass:		initContent( firstLineContentWidth, availableContentWidth );		this.itemWidth = noneContentWidth + this.contentWidth;		int cHeight = this.contentHeight;		//#ifdef polish.useBeforeStyle			if (this.contentHeight < this.beforeHeight) {				cHeight = this.beforeHeight;			}		//#endif		//#ifdef polish.useAfterStyle			if (this.contentHeight < this.afterHeight) {				cHeight = this.afterHeight;			}		//#endif		int noneContentHeight = this.marginTop + this.borderWidth + this.paddingTop 			  + this.paddingBottom + this.borderWidth + this.marginBottom;		if (this.itemWidth + labelWidth <= lineWidth) {			// label and content fit on one row:			this.itemWidth += labelWidth;			this.useSingleRow = true;			if ( cHeight + noneContentHeight < labelHeight ) {				cHeight = labelHeight - noneContentHeight;			}		} else {			cHeight += labelHeight;		}		if ( this.isLayoutExpand ) {			this.itemWidth = lineWidth;		} else if (this.itemWidth > lineWidth) {			this.itemWidth = lineWidth;		}				this.backgroundWidth = this.itemWidth - this.marginLeft - this.marginRight;		this.backgroundHeight = cHeight							  + noneContentHeight							  - this.marginTop							  - this.marginBottom;		this.itemHeight = cHeight + noneContentHeight;		this.isInitialised = true;	}