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;
|
position: fixed;
|
||||||
margin-top: -3em;
|
margin-top: -3em;
|
||||||
left: 0;
|
left: 0;
|
||||||
max-width: 50%;
|
max-width: -moz-calc(100% - 5px);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -489,6 +489,10 @@ statuspanel:-moz-locale-dir(rtl):not([mirror]) {
|
|||||||
right: 0;
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
statuspanel[sizelimit] {
|
||||||
|
max-width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
statuspanel[type=status] {
|
statuspanel[type=status] {
|
||||||
min-width: 23em;
|
min-width: 23em;
|
||||||
}
|
}
|
||||||
|
@ -4036,8 +4036,10 @@
|
|||||||
|
|
||||||
<property name="label">
|
<property name="label">
|
||||||
<setter><![CDATA[
|
<setter><![CDATA[
|
||||||
if (!this.label)
|
if (!this.label) {
|
||||||
this.removeAttribute("mirror");
|
this.removeAttribute("mirror");
|
||||||
|
this.removeAttribute("sizelimit");
|
||||||
|
}
|
||||||
|
|
||||||
this.style.minWidth = this.getAttribute("type") == "status" &&
|
this.style.minWidth = this.getAttribute("type") == "status" &&
|
||||||
this.getAttribute("previoustype") == "status"
|
this.getAttribute("previoustype") == "status"
|
||||||
@ -4115,6 +4117,11 @@
|
|||||||
this.removeAttribute("mirror");
|
this.removeAttribute("mirror");
|
||||||
else
|
else
|
||||||
this.setAttribute("mirror", "true");
|
this.setAttribute("mirror", "true");
|
||||||
|
|
||||||
|
if (!this.hasAttribute("sizelimit")) {
|
||||||
|
this.setAttribute("sizelimit", "true");
|
||||||
|
this._calcMouseTargetRect();
|
||||||
|
}
|
||||||
</body>
|
</body>
|
||||||
</method>
|
</method>
|
||||||
</implementation>
|
</implementation>
|
||||||
|
Loading…
Reference in New Issue
Block a user