Is it possible to change color for Edge's endArrow? - mxgraph

I'm getting into draw.io and trying to understand whether it's possible to set color not for the whole Edge but only for the endArrow or startArrow. Is there a style property for this?

there is no feature request at the moment.
Regards,

Related

How to set a background colour for uservoice widget?

This looks like an obvious feature, but somehow I cannot find how to do it: https://developer.uservoice.com/docs/widgets/options/
Could you tell me if it is possible at all to change the background of the uservoice widget to color different from the white one. Ideally, to set it transparent.
Thanks a lot,
Olena
You can not change the background color of the widget. I asked this question from uservoice support and they told you can't.

IE css filter: adding black outline to text - how do I remove it?

I'm trying to add text-shadows to elements in IE - I know it doesn't support the property but using the filter: property I can get it pretty close.
BUT when the text I use is not black there is a black outline around the text.
How can I remove this outline?
Here's an example... (Please open using Internet Explorer)
http://jsfiddle.net/mossman/mLRYG/
Appreciate any help guys, thanks
/* UPDATE */
Think i'll just have to live with it. Thanks for the direction guys
I went through and started testing all the combinations or your color choices and then I realized. It might not be you color as the issue. I looked up the correct call for the filter: and found this on the Microsoft site.
Shadow Filter
which gave me this:
filter:progid:DXImageTransform.Microsoft.Shadow
I used that in your example and altered a fiew of the values (because with the correct call you have to use the correct values) and guess what... something looks pretty good.
filter:progid:DXImageTransform.Microsoft.Shadow(color='#CC0000', Direction=225, Strength=8)
I tested this in IE8. Worked great. I added on to your jsFiddle example. Here is the new link with a working view.
You will also notice that with the official call it doesn't clip the left most shadow on the first letter of the word.
UPDATE:
You can try and use the following in conjunction with the .Shadow
progid:DXImageTransform.Microsoft.Chroma(Color=#cccccc)
Your call would look like this...
filter: progid:DXImageTransform.Microsoft.Chroma(Color=#cccccc)
progid:DXImageTransform.Microsoft.Shadow(color='#CC0000', Direction=225, Strength=8)
You might have to play around with the Chroma Color, but it should work. I can't test it on this machine (I don't have IE9 on it).
I referenced this post.
It seems to be an issue with the rendering engine.
With a large enough font-size, I get no black outline.
Since there are no extra parameters for this filter (except one to disabled it), I guess you gotta live with it.

Can't make rgba() background-colour on select element work in Chrome

Chrome Version 16.0.912.75 m running on Vista.
I'm trying to apply an rgba background colour to a disabled select element, with the opacity at 0.2.
It works fine in Firefox and Opera, but Chrome ignores the opacity, and just shows flat colour.
I've already tried adding -webkit-appearance: none. This fixes the alpha value, but removes the button part fo the select element from view.
Does anyone know how how to have a background with an alpha value, and not hide the button part of select?
http://jsfiddle.net/EMSmZ/9/ <== I've edited this to confirm that rgba is otherwise working for background colour, but not for select. The two boxes have different background transparencies in Chrome, but the selects don't.
Still nothing, submitted a bug report: http://code.google.com/p/chromium/issues/detail?id=110437
I hate to break this to you, but styling form elements with CSS is just a bag of hurt. There's a reason everyone uses Javascript replacement techniques to change the look and feel of form elements.. (except text and text area essentially)
not working as is in chrome 16.0.912.75 m on XP.
IF you give the disabled 'opacity:.2; it changes the opacity of the whole element.
Not sure what effect you are trying to achieve, maybe show some context to help offer a solution.
I ran into the same problem developing a form for a client. The workaround I ended up using was to set the background-color to a lighter version (#faebe7) of whatever base I color I wanted to use, in this case red, rather than using rgba(255,0,0,0.4).

Select box Border Radius not working in IE6

I have a website and i need to implement border radius for text box and Selet box.
Text-boxes are working fine on IE6 with the Support of HTC File.
But Unfortunately Select box not working. its taking the default value.
Check out this link:
http://i40.tinypic.com/qyzs0p.jpg
Please Help me to fix this issues.
Thanks in Advance.
I think it is not possible to achive what you are looking for. The level of customization allowed using CSS styles applied to dropdown elements is very basic as far as I know, even more in old-IEs.
If you really need that border, check for dropdown replacement plugins such as :
http://v2.easy-designs.net/articles/replaceSelect/
However Im not fully sure about its compatibility with IE6.
If I were you, I wouldnt bother too much with IE6 styles... it is really and old browser, the web must go on. As far as you app is working fine, a border is not a big deal.
Good luck! :-)

can html5 do this- change color x to color y (floodfill) on image?

I dont have any html5 knowldge.
I need to do a simple floodfill - change color x to color y on existing images.
Can HTML5 do that?
Could you provide an example on how to do that?
Thanks !
I imagine it would be possible but I'm not sure of anyone who has done it yet. Here is an example of grayscaling an image. I imagine a similar technique would work.
http://spyrestudios.com/html5-canvas-image-effects-black-white/
You would need to draw that image on a <canvas> element first.
Here's how to do a fill and this tutorial describes how to load an image.
Here is good example of flood fill in HTML5 https://github.com/Flower7C3/HTML5/blob/master/canvas_floodfill.js (this is my modification of Markus Ritberger script http://code.google.com/p/canvas-floodfill/downloads/detail?name=canvas_floodfill_v1.0.1.js&can=2&q=)