kilari_venkatesh Posted February 27, 2015 Share Posted February 27, 2015 As you can see in the attachement at the bottom of dialog box a rectangular pink box not occupying the full white colour image.Please suggest... : row { : image { key = "im" ; height = 2.15 ; //0.9495 width = 10 ; //1.00 fixed_width = true; //fix the width fixed_height = true; //fix the height } : paragraph { : text_part { label = "Designed and Created"; } : text_part { label = "XYZ"; } } } ______________________________Lisp_____________________________ (setq w (dimx_tile "im") h (dimy_tile "im") ) ;_ end of setq (start_image "im") ;(fill_image 0 0 w h 1) (slide_image 0 0 w h "hatch") (end_image) Quote Link to comment Share on other sites More sharing options...
hmsilva Posted February 28, 2015 Share Posted February 28, 2015 Hi kilari_venkatesh, I don't deal with DCL for a long time, but, let's see if I can assist... A simple soluction would be, to set the background color to -15, the dialog color, it does not modify the image size, but you'll not see the white... e.g. : row { : image { key = "im" ; height = 2.15 ; //0.9495 width = 10 ; //1.00 color = -15 ; //the dialog color fixed_width = true; //fix the width fixed_height = true; //fix the height } : paragraph { : text_part { label = "Designed and Created"; } : text_part { label = "XYZ"; } } } To fit the image to the tile, you'll have to change the image size, and change the image offset. e.g. (setq w (dimx_tile "im") h (dimy_tile "im") ) ;_ end of setq (start_image "im") (fill_image 0 0 w h 1);;comment after you set the correct img size and offset (slide_image -25 -5 (* w 2) (* h 2) "hatch") (end_image) Hope that helps Henrique Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.