Make a sidenav
In making a sidenav, we use the following function.
ui_sidenav_create (x, y, size, contentWidth);
Return: Ds_Map
Where x and y are the position of the trigger button is placed, while the size is the size of the trigger button that will be worth 24. contentWidth is the width of the sidenav content which by default is worth 256.
userMenu = ui_sidenav_create (16, 16, ui_default, ui_default);
The above line of code is used to create a sidenav with a certain position with the trigger button size and width of the default content.