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
{{ message }}
Repository navigation
Make it possible to set the coordinates of the window controls #7705
In Browser.html, the default position of the window controls (close,max,min buttons) is wrong:
We at least need a glutin method to set the window controls coordinates.
Then, maybe we can hardcode the position in Servo, or, like in Gecko, let the document define the position of the controls (gecko uses -moz-appearance: -moz-window-titlebar).
Activity
waddlesplash commentedon Sep 25, 2015
Why does the URL bar say 'HTTP' not 'HTTPS' here? Is that a miscommunication between Servo and Browser.html?
jdm commentedon Sep 25, 2015
Presumably we don't implement the appropriate events to inform the embedding about redirects.
paulrouget commentedon Sep 26, 2015
Oh, ignore the content of the screenshot. It's a prototype. The URL is hardcoded.
paulrouget commentedon Feb 26, 2016
I've been trying to use
button.setFrameandbutton.setFrameOrigin, but for some reason, I can only change the size of the buttons, not their position.paulrouget commentedon Jun 6, 2018
That's up to the embedder now. In the case of winit-based windows, one can use
WindowExt::get_nswindow()to access the buttons and move them around.