Set screen location of every NativeUI to new Point(0, screenRes.y / 3)

This commit is contained in:
VegaZ
2021-02-20 17:49:22 +01:00
parent efff32d08d
commit c739d7e953
20 changed files with 57 additions and 52 deletions

View File

@@ -48,7 +48,7 @@ export default function reportList(globalData: IGlobalData) {
users = JSON.parse(userTickets);
reportTexts = JSON.parse(userTickets);
reportMenu = new Menu("Offene Tickets", "", new Point(50, 50), null, null);
reportMenu = new Menu("Offene Tickets", "", new Point(0, screenRes.y / 3), null, null);
reportMenu.AddItem(new UIMenuListItem("Ticket", "", new ItemsCollection(reportTexts)));
@@ -97,7 +97,7 @@ export default function reportList(globalData: IGlobalData) {
var types = ["Quick Report", "Ticket Report"];
reportMenu = new Menu("QuickReport/Ticket", "", new Point(50, 50), null, null);
reportMenu = new Menu("QuickReport/Ticket", "", new Point(0, screenRes.y / 3), null, null);
var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types));
reportMenu.AddItem(typesItem);