I have a question that might seem “basic” but I just cannot figure out how to do it…
I have a box and I’d like to change the borderColor. Till there, nothing special. Just a box.bordercolor = xxxxxx…
BUT, I’d like to have the top and bottom border with one color, and the left and right border with another color… And that’s the part where I’m stuck.
Any tips? Suggestions?
Thanks for your help and time! 😉
Regards,
BS_C3
@Senz
Hi!
Unfortunately, I won’t be able to share the code without making it “incomprehensible”…
But this is the idea… We have 2 main components: ArrowButton and Navigator.
ArrowButton is a hbox containing a label and an image (this image is the arrow tip and it changes depeding on the state of the ArrowButton).
Navigator is a hbox containing a series of ArrowButton. An ArrowButton overlaps the arrowButton on its right in order to create the pointed end of the button.
And then you just create a whole bunch of functionnalities around these components.
I hope this helps… Do not hesitate if you have some more questions =)
Regards.
I finally did a pretty simple thing.
I guess I wasn’t detailed enough regarding the specifications.
The actual aim was to create a navigator with arrow shaped buttons.
Each button had to be highlighted when it was selected. And this http://www.freeimagehosting.net/uploads/bcd0d762d7.jpg is how the navigator looked like.
Each button is actually an HBox containing a Box (with a label) and an Image (for the arrow tip), with a horizontalGap = 0.
I didn’t think about adding a glowfilter to the button. So I was trying to just change the colors of the top and bottom part of the Box…
So, the glowfilter in the button worked pretty well.
Sorry for the lack of explanations about the context >_< And thanks for your answers!!
Regards.