So I tested elementary OS I don't like it so I removed it I switch back to gnome but left me with elementary os style windows control. which has close in left and maximize in right.
I decided to run this command
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'Now it ruins everything. So, I probably just explain it in screenshots:
41 Answer
Open Terminal and run the following command to switch back to elementary OS default (close button on the left and maximise button on the right)
gsettings set org.gnome.desktop.wm.preferences button-layout close:maximizeor the following command to Ubuntu default (minimise, maximise and close on the right)
gsettings set org.gnome.desktop.wm.preferences button-layout :minimize,maximize,closeHowever, it seems the issue is with the Arc-Darker GTK+ theme that you're using. Change it to another theme (e.g. Adwaita) to fix the problem.