You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In shiny's windows driver, it sets width to be the option's width, then to be the option's height, without actually ever setting height. This should be a simple fix:
if opts != nil {
if opts.Width > 0 {
w = opts.Width
}
if opts.Height > 0 {
h = opts.Height
}
}
The text was updated successfully, but these errors were encountered:
200sc
changed the title
x/exp/shiny
x/exp/shiny Windows driver cannot set window height
Mar 19, 2016
GO/OS info:
Go1.6 windows/amd64
GOARCH = amd64
GOOS = windows
Using x/exp/shiny, we were starting a new project and trying to manipulate the initial window size.
We expected using screen.NewWindowOptions{640,480} to result in a screen of 640 width and 480 height
The screen had no height. See here.
In shiny's windows driver, it sets width to be the option's width, then to be the option's height, without actually ever setting height. This should be a simple fix:
The text was updated successfully, but these errors were encountered: