I did a fresh install of 5.1 and installed elementary tweaks to get my go-to windows controls layout, all the system apps and apps like chrome firefox have the changed controls but apps installed from flatpak like spotify and other gtk? apps have the default eOS format. How can i change these to the windows controls layout
looking at your screenshots you want the buttons to be on the right side with winboze order. In order to achieve this, execute this into the terminal application:
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
If you want the buttons to be on the left site use
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'