37 | | * Aligning halo menus will be defined as VERTICAL and HORIZONTAL aligning of menus. An enum in the HaloMenu class will define these two. And the actual aligning will be done in the locationSync method, that currently aligns halos horizontally in the menu. |
| 37 | * Aligning halo menus will be defined as VERTICAL and HORIZONTAL aligning of menus. An enum in the HaloMenu class will define these two. And the actual aligning will be done in the locationSync method, that currently aligns halos horizontally in the menu. |
| 38 | * Left and right halo menu aligning cannot be implemented so that it behaves properly in one halo menu. Since this is connected with the [wiki:FRAME_POSITION_R1] the actual adding of the buttons will be done both at the beginning and at the end of the halo menu. (It may also be considered that the frame title would become part of the top halo menu. see [wiki:FRAME_POSITION_R1] for more info). However adding buttons so that frame title is inside the menu can be obtained through the buttons().get().add(index, button) method. |