How to change border color of a Jface Dialog(or TitleAreaDialog)? - eclipse

I'm tring to change the border color of a TitleAreaDialog.
But after research found no support for this attempt.

This is handled in the class JFaceColors You should add a IPropertyChangeListener to detect when any of these colors change. Refer also to the ColorRegistry, where you can add colors.

Related

How can I customise colors in the highlight section that is different from the text colors?

Image to the issue
How to give custom colors for highlights different from text colors.
The documentation states that the color_map setting sets both of them.
Additionally looking at the source code you can confirm that this is not currently possible as both swatches get the colors from the same function.
See
https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/src/themes/silver/main/ts/ui/core/color/ColorSwatch.ts#L135

How to add borders to GTK2 boxes?

I would like to add a border to an HBox in GTK2.
I have tried wrapping the HBox in a GtkFrame, and while that works, the border is too thin for my needs and I could not find how to change that.
If this is possible, it would be an option.
Another approach I tried was wrapping the HBox in an EventBox and then coloring the EventBox's background to emulate a border.
Here, I ran into the problem that setting the EventBox's background color propagated the setting to the HBox itself.
If there is a way forward with this approach, it might be preferable, because of the added benefit of color choice (that said, if we can change GtkFrame's border color that might be work great too).
EDIT: I have reached something very close to what I'm looking for after managing to change the color of the GtkFrame surrounding the box only.
Still, I'd like to make the frame colored border a bit thicker and have not had much luck.
EDIT²: I have managed by essentially sandwiching two EventBoxes. I change the background color of the outer box and then change the background color of the inner box to match the default background. In this scenario, thickness can be controlled by the border width setting of the box.

Change the border's color of a button in Unity3D

I began to work with Unity3D since one month and I'm trying to do an application which contains a menu, composed by a panel and several buttons. At this moment, I'm trying to customize the menu, I change the fill color of the panel and buttons, but until now I could not change the border color of the buttons. There is any way to customize the border's color of the UI buttons? I would appreciate your help. :)
The easiest way to add an outline to your button is to use the Outline component (doc).
Simply add the Outline component where your button image or text is. Then configure it how you like it :)
The above results in the following button:
No, you can not change just border color. If you use default buttons, take a look at Source image. It is basically a grey square with black borders. So when you change color of image black color remains black.
To customize buttons as you want you need either create nested UI elements:
or create sprites with colors you want and replace source image
I find nested UI elements to be the easiest way to do something like this. Simple example:
Start out by creating a panel and change the scale until you get the desired size for your button. This will be your "borders".
Next create another panel as a child of the panel you just made and change the scale to be just slightly smaller than your first panel and change the color.
In the Inspector for your panel, add component and type in Button and add it as a component.
Finally, add a text as a child of your panel for a label and you're done.

Enterprise Architect 13.5: How to change text color for operation(s)

Seems like a trival question but I'm stuck finding out how to change to text color for an operation(method) in Enterprise Architect 13.5.
The class name text color I can change through "Default Appearance" via Right mouse button. But I can NOT find a way to change the text color of one or more operation(s).
The reason I want this is because my class/object background color is dark(er) so I want a Light(er) text color for both my class name and operations so that they still are readable.
Thanks for helping!
You cannot change the color of individual operations.
You can only change the general default color using the general preferences.

Color Picker for specific Colors in touch UI AEM

I am using the colorPicker for a widget:
Now i dont want to show the shades of the color and want to add custom colors.
freestylePaletteTypeboolean
Displays the freestyle mode without palette shades.
this property is not working and the colors-name under colors node is also not working.
Please help.
Here's a starting point for implementing a color picker in AEM.
There's also a color palette picker example here that could provide inspiration.