@ -177,13 +177,13 @@ public class FormDesignerUI extends ComponentUI {
if ( k = = 1 | | k = = 2 ) {
x1 = 0 ;
x2 = 6 ;
y2 = y1 = bounds . y - designer . getArea ( ) . get VerticalValue ( ) + ( k = = 1 ? 0 : bounds . height ) ;
text = Utils . objectToString ( y1 + designer . getArea ( ) . getVerticalValue ( ) ) ;
y2 = y1 = bounds . y - designer . getVerticalScale Value ( ) + ( k = = 1 ? 0 : bounds . height ) ;
text = Utils . objectToString ( bounds . y ) ;
} else {
y1 = 0 ;
y2 = 6 ;
x1 = x2 = bounds . x - designer . getArea ( ) . get HorizontalValue ( ) + ( k = = 3 ? 0 : bounds . width ) ;
text = Utils . objectToString ( x1 + designer . getArea ( ) . getHorizontalValue ( ) ) ;
x1 = x2 = bounds . x - designer . getHorizontalScale Value ( ) + ( k = = 3 ? 0 : bounds . width ) ;
text = Utils . objectToString ( bounds . x ) ;
}
text + = com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Form_Indent_Pixel" ) ;
g2d . setColor ( XCreatorConstants . RESIZE_BOX_BORDER_COLOR ) ;
@ -409,8 +409,8 @@ public class FormDesignerUI extends ComponentUI {
clipg = g . create (
- designer . getHorizontalScaleValue ( ) ,
- designer . getVerticalScaleValue ( ) + designer . getParaHeight ( ) ,
parent . getSize ( ) . width + designer . getArea ( ) . getHorizontalValue ( ) ,
parent . getSize ( ) . height + designer . getArea ( ) . getVerticalValue ( ) ) ;
( int ) ( ( parent . getSize ( ) . width + designer . getArea ( ) . getHorizontalValue ( ) ) / designer . getScale ( ) ) ,
( int ) ( ( parent . getSize ( ) . height + designer . getArea ( ) . getVerticalValue ( ) ) / designer . getScale ( ) ) ) ;
designer . paintContent ( clipg ) ;
paintWatermark ( ( Graphics2D ) clipg ) ;
@ -435,8 +435,8 @@ public class FormDesignerUI extends ComponentUI {
Graphics clipg1 ;
clipg1 = g . create ( - designer . getHorizontalScaleValue ( ) ,
- designer . getVerticalScaleValue ( ) ,
parent . getSize ( ) . width + designer . getArea ( ) . getHorizontalValue ( ) ,
designer . getParaHeight ( ) + designer . getArea ( ) . getVerticalValue ( ) ) ;
( int ) ( ( parent . getSize ( ) . width + designer . getArea ( ) . getHorizontalValue ( ) ) / designer . getScale ( ) ) ,
( int ) ( ( designer . getParaHeight ( ) + designer . getArea ( ) . getVerticalValue ( ) ) / designer . getScale ( ) ) ) ;
designer . paintPara ( clipg1 ) ;
clipg1 . dispose ( ) ;