cc-window: Enable scroll-to-focus on panel list
GTK4 doesn't do this by default, so we need to make sure to specify it on our GtkViewport.
This commit is contained in:
parent
8ba134fbce
commit
f1d5a0e71e
1 changed files with 9 additions and 4 deletions
|
@ -85,10 +85,15 @@
|
||||||
<property name="width-request">200</property>
|
<property name="width-request">200</property>
|
||||||
<property name="hscrollbar_policy">never</property>
|
<property name="hscrollbar_policy">never</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="CcPanelList" id="panel_list">
|
<object class="GtkViewport">
|
||||||
<property name="search-mode" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="bidirectional" />
|
<property name="scroll-to-focus">True</property>
|
||||||
<property name="search-query" bind-source="search_entry" bind-property="text" bind-flags="default" />
|
<child>
|
||||||
<signal name="show-panel" handler="show_panel_cb" object="CcWindow" swapped="yes" />
|
<object class="CcPanelList" id="panel_list">
|
||||||
|
<property name="search-mode" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="bidirectional" />
|
||||||
|
<property name="search-query" bind-source="search_entry" bind-property="text" bind-flags="default" />
|
||||||
|
<signal name="show-panel" handler="show_panel_cb" object="CcWindow" swapped="yes" />
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue