修复左侧面板区布局问题,调整影响列表和被影响列表,使左侧面板区能够独占一列
This commit is contained in:
@@ -227,12 +227,10 @@ export class LayoutCoordinator {
|
||||
{ position: 'center', property: 'width', influence: true }
|
||||
],
|
||||
top: [
|
||||
{ position: 'left', property: 'height', influence: true },
|
||||
{ position: 'center', property: 'height', influence: true },
|
||||
{ position: 'right', property: 'height', influence: true }
|
||||
],
|
||||
bottom: [
|
||||
{ position: 'left', property: 'height', influence: true },
|
||||
{ position: 'center', property: 'height', influence: true },
|
||||
{ position: 'right', property: 'height', influence: true }
|
||||
],
|
||||
@@ -241,22 +239,22 @@ export class LayoutCoordinator {
|
||||
// 受影响数组:计算某个面板大小时,需要考虑哪些其他面板
|
||||
influencedBy: {
|
||||
left: [
|
||||
{ position: 'top', property: 'height', influence: true },
|
||||
{ position: 'center', property: 'width', influence: true },
|
||||
{ position: 'right', property: 'width', influence: true },
|
||||
{ position: 'bottom', property: 'height', influence: true }
|
||||
{ position: 'right', property: 'width', influence: true }
|
||||
],
|
||||
right: [
|
||||
{ position: 'top', property: 'height', influence: true },
|
||||
{ position: 'left', property: 'width', influence: true },
|
||||
{ position: 'center', property: 'width', influence: true },
|
||||
{ position: 'bottom', property: 'height', influence: true }
|
||||
{ position: 'center', property: 'width', influence: true }
|
||||
],
|
||||
top:[
|
||||
{ position: 'left', property: 'width', influence: true },
|
||||
{ position: 'right', property: 'width', influence: true },
|
||||
{ position: 'center', property: 'height', influence: true },
|
||||
{ position: 'bottom', property: 'height', influence: true }
|
||||
],
|
||||
bottom: [
|
||||
{ position: 'left', property: 'width', influence: true },
|
||||
{ position: 'right', property: 'width', influence: true },
|
||||
{ position: 'top', property: 'height', influence: true },
|
||||
{ position: 'center', property: 'height', influence: true }
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user