The way T5 light bulbs are hooked to the fixture is by loose wires ending in a cap
which fits the bulb. T8 bulbs fit into a slot. They need to be fairly exact.
The OEM bulbs that came/w my T5 fixture were 17.25" (for a 20" fxture) but each
brand of replacement bulb has been a measurement other than that but just a bit less