mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 14:42:19 +02:00
default window width fixes
This commit is contained in:
parent
2b8372c959
commit
42afd31325
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue