I tried a TStackPanel and put some buttons on it, but I can't seem to remove the gaps between the buttons. Putting TLabels on it is weird because their vertical alignment is Top, not Middle, and there's no setting for that.
The main drawback to using buttons on this control is that they don't automatically open when the mouse is over them the same way regular menus work.
Or you can just embed a form inside any TWinControl container...
ReplyDeleteLet me throw TActionMainMenuBar in the ring.
ReplyDeleteI tried a TStackPanel and put some buttons on it, but I can't seem to remove the gaps between the buttons. Putting TLabels on it is weird because their vertical alignment is Top, not Middle, and there's no setting for that.
ReplyDeleteThe main drawback to using buttons on this control is that they don't automatically open when the mouse is over them the same way regular menus work.