-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window size setting. #77
Conversation
let me test this out, i have seen this also on some dashboards. |
@@ -44,6 +46,8 @@ func ProcessArgs(cfg interface{}) Args { | |||
f.StringVar(&a.Mode, "kiosk-mode", "full", "Kiosk Display Mode [full|tv|disabled]\nfull = No TOPNAV and No SIDEBAR\ntv = No SIDEBAR\ndisabled = omit option\n") | |||
f.StringVar(&a.URL, "URL", "https://play.grafana.org", "URL to Grafana server") | |||
f.StringVar(&a.WindowPosition, "window-position", "0,0", "Top Left Position of Kiosk") | |||
f.StringVar(&a.WindowPosition, "window-size", "1920,1080", "Size of Kiosk in pixels") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this variable should be a.WindowSize
or it will overwrite the position setting and not set the size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great addition, it will need some adjustments due to recent merges to main.
this has been implemented/merged as part of PR #102 |
The zoom scaling factor, chrome flag |
Implementation copied from grafana#77
New PR here for scaling factor: #109 |
Implementation copied from grafana#77
No description provided.