How can I change the background color in the button without FXML? #JAVAFX - user-interface

I've been trying to change the color of the window completely for a long time. I am missing the lower section.
Can anyone help me?
This is the code.
I apologize for my beginner knowledge.

If You want to do something like this the Thing You can do is Using a CSS file in javaFX FXML project
if its not a javaFX FXML Project then I'm afraid you must share the source code of your project...

Related

Joomla 3.8: how to configure standard spacing properties?

I´m rookie in Joomla. I'd like to do a fine-adjustment in the presentation of a bunch of icons in a toolbar that I've created using logo/image components in the layout editor for a certain theme. These icons are being presented with a too wide spacement between one another, and it seems that the cause is the property flex in the css file nucleus.css (.size-5 element, according to inspections in Firefox).
I'd like to know how to resolve this spacement issue, perhaps changing paramenter's values in this css file, if there is no other way. Thanks for any help.

How to deal with buttons with Physic2D and Images (PNG)?

I want to know how to create button with my Images(PNG).
I'm not gonna use the GUIButton because of creating the default button image.
I copied the images in my Unity Project and changed to sprite(2D and UI). Then, create the sprites simply by dragging. I also added the script which includes 'onTouchDown() and onMouseDown'. However, it didn't work so I tired again with layermask but it didn't work as well with no error code. Maybe the physic2D is the reason.
How can i make button with simple image. Could you guys help me to do so?
Please let me know does anyone have idea. Thank you.
Why don't you use a button from the new UI system?
Sorry guys. I didn't recognize that i typed 'OnMouseDown' to 'onMouseDown'. I didn't used capital letter. It's really annoying thing.

Question about Eclipse GEF and RootEditPart

I am working on a eclipse based design editor. It's GEF based.
When I am adding root editpart to the editor , it's coming over top of my domain figures.
If I remove the rooteditpart , I am able to see my figures.
Any idea , what I may be missing ?
Thanks
Jijoy
I got it after some digging eclipse code. Need to set the bounds for figure only then it will show up.

Expression Blend Forcing User Controls to be hidden

So I have been working on a project using C Sharp and WPF for a while now, and now recently several of my user controls are hidden in Expression Blend. I tried show all, setting visibility to Visible in the gui, cleaning the project build, rebuilding, restarting, etc... nothing seems to work.
As you can imagine, this is very frustrating, and any help would be greatly appreciated, thank you.
Figured out a way around it. The problem is somehow related to the fact that I have several UserControls extended from a class that extends UserControl, but which has no XAML file itself.
Changing the xaml root from something like MyCustomUserControl temporarily to UserControl will allow the content to appear. Once done editing, change the root back so your program can run.

Effel: EiffelVision2 changing widget style

I'm joining an Eiffel project that has a horribly outdated GUI design. The GUI is built with EiffelVision2 and the application is Windows platform only.
how can I change the look/design of the widgets, like defining shape and color of scrollbars, buttons, window borders and so on?
thank you!
I think this can be done using manifest file.
For instance, https://svn.eiffel.com/eiffelstudio/trunk/Src/Eiffel/Ace/ec.exe.manifest allows EiffelStudio to have nicer look than default classic theme.
You can check similar question/answers from http://tech.groups.yahoo.com/group/eiffel_software/message/8791

Resources