Skip to content

Commit

Permalink
Merge pull request #318 from laughing0li/master
Browse files Browse the repository at this point in the history
add tips to popup window AUS-4075
  • Loading branch information
vjf authored Dec 14, 2023
2 parents 4d839fb + ae26759 commit e14b010
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/app/menupanel/layerpanel/layerpanel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ export class LayerPanelComponent implements OnInit {
}
}
}
Object.keys(me.layerGroups).forEach(group => {
me.layerGroups[group].sort((a, b) => a.name.localeCompare(b.name));
});
});
});

Expand Down
8 changes: 8 additions & 0 deletions src/app/modalwindow/modalwindow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,11 @@ div.modal-card-size .btn {
max-height: 400px;
background-color: rgb(8, 0, 255) !important;
}

.tip-info {
margin-left: 15px;
font-size: x-small;
text-align: right;
color: #AAA;
max-width: 200px;
}
2 changes: 2 additions & 0 deletions src/app/modalwindow/querier/querier.modal.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<div cdkDrag cdkDragRootElement=".modal-content" #childElement cdkDragBoundary="body">
<div class="modal-header" cdkDragHandle>
<h1 class="page-header">Feature Information</h1>
<p class="tip-info">Tip: Drag the "Feature Information" header to move this window. Resize by dragging the bottom right corner.
</p>
</div>
<div class="modal-body">

Expand Down
4 changes: 2 additions & 2 deletions src/app/modalwindow/querier/querier.modal.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ export class QuerierModalComponent implements OnInit, AfterViewInit {
this.renderer.setStyle(parentElement, 'resize', 'both');
this.renderer.setStyle(parentElement, 'overflow', 'auto');
this.renderer.setStyle(parentElement, 'width', '500px');
this.renderer.setStyle(parentElement, 'min-height', '400px');
// this.renderer.setStyle(parentElement, 'min-height', '400px');
this.renderer.setStyle(parentElement, 'min-width', '400px');
this.renderer.setStyle(parentElement, 'left', left/2 + 'px');
this.renderer.setStyle(parentElement, 'height', height*0.8 + 'px');
// this.renderer.setStyle(parentElement, 'height', height*0.8 + 'px');
}

ngOnInit() {
Expand Down

0 comments on commit e14b010

Please sign in to comment.