mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 518619: When touching rows in a list, scroll partially visible rows into view [r=mark.finkle]
This commit is contained in:
parent
8b85899778
commit
abe52d237c
@ -334,7 +334,7 @@
|
|||||||
<hbox id="downloads-header" class="panel-header">
|
<hbox id="downloads-header" class="panel-header">
|
||||||
<label value="&downloadsHeader.label;" flex="1"/>
|
<label value="&downloadsHeader.label;" flex="1"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<richlistbox id="downloads-list" flex="1"/>
|
<richlistbox id="downloads-list" flex="1" onselect="this.ensureSelectedElementIsVisible()"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
|
||||||
<vbox id="prefs-container" flex="1">
|
<vbox id="prefs-container" flex="1">
|
||||||
@ -342,7 +342,7 @@
|
|||||||
<label value="&prefsHeader.label;"/>
|
<label value="&prefsHeader.label;"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<notificationbox id="prefs-messages" flex="1">
|
<notificationbox id="prefs-messages" flex="1">
|
||||||
<richlistbox id="prefs-list" seltype="single" flex="1">
|
<richlistbox id="prefs-list" seltype="single" flex="1" onselect="this.ensureSelectedElementIsVisible()">
|
||||||
<setting title="&about.title;" type="control">
|
<setting title="&about.title;" type="control">
|
||||||
&about.description;
|
&about.description;
|
||||||
<button id="prefs-about-button" label="&about.button;"
|
<button id="prefs-about-button" label="&about.button;"
|
||||||
|
@ -208,6 +208,7 @@ var ExtensionsView = {
|
|||||||
if (item.hideOptions)
|
if (item.hideOptions)
|
||||||
item.hideOptions();
|
item.hideOptions();
|
||||||
}
|
}
|
||||||
|
this._list.ensureSelectedElementIsVisible();
|
||||||
},
|
},
|
||||||
|
|
||||||
get visible() {
|
get visible() {
|
||||||
|
Loading…
Reference in New Issue
Block a user