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
|
@ -84,6 +84,9 @@
|
|||
<property name="vexpand">True</property>
|
||||
<property name="width-request">200</property>
|
||||
<property name="hscrollbar_policy">never</property>
|
||||
<child>
|
||||
<object class="GtkViewport">
|
||||
<property name="scroll-to-focus">True</property>
|
||||
<child>
|
||||
<object class="CcPanelList" id="panel_list">
|
||||
<property name="search-mode" bind-source="search_bar" bind-property="search-mode-enabled" bind-flags="bidirectional" />
|
||||
|
@ -95,6 +98,8 @@
|
|||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkSeparator" id="panel_separator">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue