mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 632634 - Allow the status panel to be as wide as the window. r=felipe
This commit is contained in:
parent
c41ffddcb7
commit
a25bd4d8d7
@ -479,7 +479,7 @@ statuspanel {
|
||||
position: fixed;
|
||||
margin-top: -3em;
|
||||
left: 0;
|
||||
max-width: 50%;
|
||||
max-width: -moz-calc(100% - 5px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@ -489,6 +489,10 @@ statuspanel:-moz-locale-dir(rtl):not([mirror]) {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
statuspanel[sizelimit] {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
statuspanel[type=status] {
|
||||
min-width: 23em;
|
||||
}
|
||||
|
@ -4036,8 +4036,10 @@
|
||||
|
||||
<property name="label">
|
||||
<setter><![CDATA[
|
||||
if (!this.label)
|
||||
if (!this.label) {
|
||||
this.removeAttribute("mirror");
|
||||
this.removeAttribute("sizelimit");
|
||||
}
|
||||
|
||||
this.style.minWidth = this.getAttribute("type") == "status" &&
|
||||
this.getAttribute("previoustype") == "status"
|
||||
@ -4115,6 +4117,11 @@
|
||||
this.removeAttribute("mirror");
|
||||
else
|
||||
this.setAttribute("mirror", "true");
|
||||
|
||||
if (!this.hasAttribute("sizelimit")) {
|
||||
this.setAttribute("sizelimit", "true");
|
||||
this._calcMouseTargetRect();
|
||||
}
|
||||
</body>
|
||||
</method>
|
||||
</implementation>
|
||||
|
Loading…
Reference in New Issue
Block a user