Disko Forum logo Login  |  Register  |  Lost Password
MMSArrow with background filled?

andre
Posts: 35
graphgraph

MMSArrow with background filled? 5 Years, 7 Months ago  
Hello,

I was wondering if it is possible to get an arrow filled with some background color.

If so, what is the corresponding XML attribute? The color attribute seams to affect the border only.

Thanks,
André
 
  The administrator has disabled public write access.
MMSArrow with background filled?

Guido
Admin
Posts: 54
graphgraph

Re:MMSArrow with background filled? 5 Years, 7 Months ago  
Hi andré,

you can use the "bgcolor" attribute.

regards

Guido

PS: You can find this information in the GUI reference documentation: http://www.diskohq.org/documentation/gui-reference/elements.html
 
  The administrator has disabled public write access.
MMSArrow with background filled?

andre
Admin
Posts: 35
graphgraph

Re:MMSArrow with background filled? 5 Years, 7 Months ago  
Hello Guido,

Thank you for your reply.

That was one of the things I tried but it does not seam to work. What happens is that when I specify a bgcolor for the MMSArrow , I get that color all over the area allocated to the Widget (inside and outside de arrow itself). So basically the result is that my arrow becomes a filled rectangle.

Please let me know your thoughts.

Thanks,
André
 
  The administrator has disabled public write access.
MMSArrow with background filled?

Stefan
Admin
Posts: 91
graph

Re:MMSArrow with background filled? 5 Years, 7 Months ago  
Hi André,

maybe thats a bug here. We are using the Arrow widget only with png images. Could you try this and share your results?

have fun
Stefan
 
  The administrator has disabled public write access.
MMSArrow with background filled?

andre
Admin
Posts: 35
graphgraph

Re:MMSArrow with background filled? 5 Years, 7 Months ago  
Hello Stefan,

I am not sure if I understood exactly what you asked me to test.

Nevertheless, attached follows is a simple test application that tries to set both a bgcolor and a bgimage for two MMSArrow widgets. I hope it clarifies my point.

Thanks in advance for you help.

Regards,
André

File Attachment:
File Name: test_arrow.zip
File Size: 41866
/home/andre/disko/tests-andre/test-arrow.zip [/file]
 
  The administrator has disabled public write access.
MMSArrow with background filled?

Stefan
Admin
Posts: 91
graph

Re:MMSArrow with background filled? 5 Years, 7 Months ago  
Hi André,

now I get it. You are getting a solid arrow instead of the just line drawn. This feature is currently missing As is said we usually use the bgimages for arrows. Just set the color and selcolor to "#00000000" to have only the bgimage drawn. I attached your test with the updated test-arrow.xml.

have fun
Stefan

File Attachment:
File Name: test_arrow-193dc7eff6f6733a4b43cf4e7fb54c49.zip
File Size: 19667
 
  The administrator has disabled public write access.
Powered by FireBoard
get the latest posts directly to your desktop