default window width fixes

This commit is contained in:
Thijs Wenker 2018-07-06 19:48:35 +02:00
parent 2b8372c959
commit 42afd31325
2 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ Script.include([
var CreateWindow = Script.require('./modules/createWindow.js');
var TITLE_OFFSET = 60;
var ENTITY_LIST_WIDTH = 470;
var CREATE_TOOLS_WIDTH = 490;
var MAX_DEFAULT_ENTITY_LIST_HEIGHT = 942;
var createToolsWindow = new CreateWindow(
@ -51,11 +51,11 @@ var createToolsWindow = new CreateWindow(
}
return {
size: {
x: ENTITY_LIST_WIDTH,
x: CREATE_TOOLS_WIDTH,
y: windowHeight
},
position: {
x: Window.x + Window.innerWidth - ENTITY_LIST_WIDTH,
x: Window.x + Window.innerWidth - CREATE_TOOLS_WIDTH,
y: Window.y + TITLE_OFFSET
}
}

View file

@ -17,7 +17,7 @@ EntityListTool = function() {
var CreateWindow = Script.require('../modules/createWindow.js');
var TITLE_OFFSET = 60;
var CREATE_TOOLS_WIDTH = 495;
var ENTITY_LIST_WIDTH = 495;
var MAX_DEFAULT_CREATE_TOOLS_HEIGHT = 778;
var entityListWindow = new CreateWindow(
Script.resourcesPath() + "qml/hifi/tablet/EditEntityList.qml",
@ -30,7 +30,7 @@ EntityListTool = function() {
}
return {
size: {
x: CREATE_TOOLS_WIDTH,
x: ENTITY_LIST_WIDTH,
y: windowHeight
},
position: {