mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-06 01:01:33 +00:00
Add more video resolutions to Docker containers using VNC in WebUI. Fixes #1375
(cherry picked from commit 83f7d36e2da27cf713bf7cc56438d3eb95b70267)
This commit is contained in:
parent
c264268ab8
commit
4ad56ed856
@ -21,7 +21,7 @@ export class ConfiguratorDialogDockerComponent implements OnInit {
|
|||||||
name: string;
|
name: string;
|
||||||
generalSettingsForm: FormGroup;
|
generalSettingsForm: FormGroup;
|
||||||
consoleTypes: string[] = [];
|
consoleTypes: string[] = [];
|
||||||
consoleResolutions: string[] = ['640x480', '800x600', '1024x768', '1280x800', '1280x1024', '1366x768', '1920x1080'];
|
consoleResolutions: string[] = ['2560x1440', '1920x1080', '1680x1050', '1440x900', '1366x768', '1280x1024', '1280x800', '1024x768', '800x600', '640x480'];
|
||||||
private conf = {
|
private conf = {
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
width: '800px',
|
width: '800px',
|
||||||
|
@ -19,7 +19,7 @@ export class DockerConfigurationService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getConsoleResolutions() {
|
getConsoleResolutions() {
|
||||||
let consoleResolutions = ['1920x1080', '1366x768', '1280x1024', '1280x800', '1024x768', '800x600', '640x480'];
|
let consoleResolutions = ['2560x1440', '1920x1080', '1680x1050', '1440x900', '1366x768', '1280x1024', '1280x800', '1024x768', '800x600', '640x480'];
|
||||||
|
|
||||||
return consoleResolutions;
|
return consoleResolutions;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user