[chronojump] ForceSensorExercise dialog has textviews for desc/examples: size does not change between tabs
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] ForceSensorExercise dialog has textviews for desc/examples: size does not change between tabs
- Date: Tue, 4 May 2021 14:36:20 +0000 (UTC)
commit c40287e5c8c9f68ab48dccf17cc41671847b775d
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue May 4 16:35:47 2021 +0200
ForceSensorExercise dialog has textviews for desc/examples: size does not change between tabs
glade/force_sensor_exercise.glade | 52 ++++++++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 11 deletions(-)
---
diff --git a/glade/force_sensor_exercise.glade b/glade/force_sensor_exercise.glade
index 8d79fc86..bda7e8f6 100644
--- a/glade/force_sensor_exercise.glade
+++ b/glade/force_sensor_exercise.glade
@@ -324,7 +324,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">8</property>
- <property name="spacing">16</property>
+ <property name="spacing">12</property>
<child>
<widget class="GtkRadioButton" id="radio_mass_nothing">
<property name="label" translatable="yes">The effect of mass is included in the
raw data</property>
@@ -1414,13 +1414,28 @@
<property name="show_tabs">False</property>
<property name="show_border">False</property>
<child>
- <widget class="GtkTextView" id="textview_description">
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="height_request">75</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="border_width">8</property>
- <property name="editable">False</property>
- <property name="wrap_mode">word</property>
- <property name="cursor_visible">False</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <widget class="GtkViewport" id="viewport1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <widget class="GtkTextView" id="textview_description">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="border_width">8</property>
+ <property name="editable">False</property>
+ <property name="wrap_mode">word</property>
+ <property name="cursor_visible">False</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
</child>
<child>
@@ -1435,13 +1450,28 @@
</packing>
</child>
<child>
- <widget class="GtkTextView" id="textview_examples">
+ <widget class="GtkScrolledWindow" id="scrolledwindow2">
+ <property name="height_request">75</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="border_width">8</property>
- <property name="editable">False</property>
- <property name="wrap_mode">word</property>
- <property name="cursor_visible">False</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <widget class="GtkViewport" id="viewport2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <widget class="GtkTextView" id="textview_examples">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="border_width">8</property>
+ <property name="editable">False</property>
+ <property name="wrap_mode">word</property>
+ <property name="cursor_visible">False</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="position">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]