wwan: apn-dialog: Use AdwPreferencesPage
This fixes the listbox content being cut of with the scrolled window.
This commit is contained in:
parent
fc8817380d
commit
7da8101446
1 changed files with 25 additions and 31 deletions
|
@ -52,44 +52,39 @@
|
|||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="width-request">340</property>
|
||||
<property name="height-request">360</property>
|
||||
<object class="GtkStack" id="apn_settings_stack">
|
||||
<property name="transition-type">slide-left-right</property>
|
||||
|
||||
<!-- Access Point List -->
|
||||
<child>
|
||||
<object class="AdwClamp">
|
||||
<property name="margin-top">32</property>
|
||||
<property name="margin-bottom">32</property>
|
||||
|
||||
<object class="AdwPreferencesPage" id="apn_list_view">
|
||||
<child>
|
||||
<object class="GtkStack" id="apn_settings_stack">
|
||||
<property name="transition-type">slide-left-right</property>
|
||||
|
||||
<!-- Access Point List -->
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="apn_list_view">
|
||||
<property name="margin-start">18</property>
|
||||
<property name="margin-end">18</property>
|
||||
<property name="child">
|
||||
<object class="GtkListBox" id="apn_list">
|
||||
<property name="valign">start</property>
|
||||
<property name="selection-mode">none</property>
|
||||
<signal name="row-activated" handler="cc_wwan_apn_activated_cb" swapped="yes"/>
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
</object>
|
||||
</property>
|
||||
<object class="GtkListBox" id="apn_list">
|
||||
<property name="valign">start</property>
|
||||
<property name="selection-mode">none</property>
|
||||
<signal name="row-activated" handler="cc_wwan_apn_activated_cb" swapped="yes"/>
|
||||
<style>
|
||||
<class name="boxed-list"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesPage" id="apn_edit_view">
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
<child>
|
||||
<object class="GtkGrid" id="apn_edit_view">
|
||||
<object class="GtkGrid">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="vexpand">True</property>
|
||||
<property name="margin-start">18</property>
|
||||
<property name="margin-end">18</property>
|
||||
<property name="row-spacing">6</property>
|
||||
<property name="column-spacing">12</property>
|
||||
|
||||
|
@ -196,14 +191,13 @@
|
|||
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object> <!-- ./GtkStack apn_settings_stack -->
|
||||
</object> <!-- ./AdwPreferencesGroup -->
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object> <!-- ./GtkStack apn_settings_stack -->
|
||||
</child>
|
||||
</template>
|
||||
|
||||
<!-- A simple hack to create a radio button group -->
|
||||
|
|
Loading…
Add table
Reference in a new issue