A tower is normally suggested over an SFF.  If the PSU is upgraded on an SFF, it'll have to sit outside the case.  Exception: 315w PSU that's for an Optiplex XE2 SFF. The GTX 1050 ti will work nicely with an I5-4570.  The RX 580 is completely out (on a standard PSU) due to power requirements and needing an extra 8-pin connector. [IMAGE] [IMAGE] [IMAGE]  
So I've been scouring facebook marketplace in an attempt to "build" my own budget gaming pc. I found this Optiplex 3020 SFF with an i5-4570 for 80 USD, and I've since been researching on the compatible GPUs that could fit inside (GT 1030, 1050-Ti LP, RX 550 single slot, among others), but I found this 80 USD single fan RX 580 OEM that is pretty interesting (link below), and was wondering if anyone here could confirm or deny that this would, in fact, fit in the case. [URL] the one I'm referring to is the one with the red fan, but if you have any info about the AMD version of it seen here [URL] then please do let me know!This is all considering that I'll also be upgrading the PSU if need be since the one that comes with it is only the stock 255W PSU. 
Dell Optiplex 3040 SFF with RX 580 OEM