DirectGui positioning Button in Frame

The terms you should know about :

  1. origin : the origin of an object’s transformation (position, rotation, scale, shear)
  2. center : the center of an object’s geometry

The center is not necessarily it’s origin.

If you need help :
[DirectGUI or nodepath alignment)