Beispiel #1
0
 void SetAlignment()
 {
     Control.ResetWidth();
     Control.Justify = horizontalAlign.ToGtk();
     Control.SetAlignment(horizontalAlign.ToAlignment(), verticalAlign.ToAlignment());
     eventBox.ResizeChildren();
 }
Beispiel #2
0
        void SetAlignment()
        {
            Control.ResetWidth();
            Control.Justify = horizontalAlign.ToGtk();
            Control.Xalign  = horizontalAlign.ToAlignment();
            Control.Yalign  = verticalAlign.ToAlignment();
#if GTK2
            eventBox.ResizeChildren();
#endif
        }