Unity UI: Dynamic button prefab font incorrect compared to other elements

I am having some issues when creating UI elements dynamically and the font size showing up incorrectly. The button is a prefab and font size set to 42 pixels. The elements next to it are not created dynamically and are set to the same font size and all settings are the same. It also is smaller or larger depending on the screen size but is NOT set to best fit.

Looks like there was an issue in my prefab instantiation. Not sure exactly what it is but this fixed it:

    GameObject TechList = Instantiate (Prefab) as GameObject;
        
    TechList.transform.SetParent (this.transform, false);
    
    TechList.transform.localScale = new Vector3(1, 1, 1);