diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-14 16:23:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-15 11:20:49 +0100 |
commit | fcf0d983801603250aa7ce4539951c6b049ad079 (patch) | |
tree | e1c7ec93cd507af0eac563d71d4772e977d577e3 /chart2/uiconfig | |
parent | 093eb46aea59c2359d122bc8d2c2a7411e9b8a23 (diff) |
add a rule to enforce always-show-image of True if an image is used
If not set, then gtk3 will show the image if there is no text, but only
the text if there's an image. For simplicity sake just enforce it as
true if an image is referenced.
Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2/uiconfig')
-rw-r--r-- | chart2/uiconfig/ui/dlg_InsertErrorBars.ui | 2 | ||||
-rw-r--r-- | chart2/uiconfig/ui/tp_DataSource.ui | 2 | ||||
-rw-r--r-- | chart2/uiconfig/ui/tp_ErrorBars.ui | 2 | ||||
-rw-r--r-- | chart2/uiconfig/ui/tp_RangeChooser.ui | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/chart2/uiconfig/ui/dlg_InsertErrorBars.ui b/chart2/uiconfig/ui/dlg_InsertErrorBars.ui index 09127cdba4ef..ea0719132f58 100644 --- a/chart2/uiconfig/ui/dlg_InsertErrorBars.ui +++ b/chart2/uiconfig/ui/dlg_InsertErrorBars.ui @@ -489,6 +489,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="dlg_InsertErrorBars|IB_RANGE_POSITIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_POSITIVE</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IB_RANGE_POSITIVE-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="dlg_InsertErrorBars|extended_tip|IB_RANGE_POSITIVE">Click a button to shrink the dialog, then use the mouse to select the cell range in the spreadsheet. Click the button again to restore the dialog to full size.</property> @@ -572,6 +573,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="dlg_InsertErrorBars|IB_RANGE_NEGATIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_NEG</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IB_RANGE_NEGATIVE-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="dlg_InsertErrorBars|extended_tip|IB_RANGE_NEGATIVE">Click a button to shrink the dialog, then use the mouse to select the cell range in the spreadsheet. Click the button again to restore the dialog to full size.</property> diff --git a/chart2/uiconfig/ui/tp_DataSource.ui b/chart2/uiconfig/ui/tp_DataSource.ui index 635314c07e95..c9a3df7cc121 100644 --- a/chart2/uiconfig/ui/tp_DataSource.ui +++ b/chart2/uiconfig/ui/tp_DataSource.ui @@ -350,6 +350,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="image">imageIMB_RANGE_MAIN</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IMB_RANGE_MAIN-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="tp_DataSource|extended_tip|IMB_RANGE_MAIN">Shows the source range address from the second column of the Data Range list box. You can change the range in the text box or by dragging in the document. To minimize this dialog while you select the data range in Calc, click the Select data range button.</property> @@ -437,6 +438,7 @@ <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="image">imageIMB_RANGE_CAT</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IMB_RANGE_CAT-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="tp_DataSource|extended_tip|IMB_RANGE_CAT">Shows the source range address of the categories (the texts you can see on the x-axis of a category chart). For an XY-chart, the text box contains the source range of the data labels which are displayed for the data points. To minimize this dialog while you select the data range in Calc, click the Select data range button.</property> diff --git a/chart2/uiconfig/ui/tp_ErrorBars.ui b/chart2/uiconfig/ui/tp_ErrorBars.ui index a70d8f726228..aa63a36bcf7c 100644 --- a/chart2/uiconfig/ui/tp_ErrorBars.ui +++ b/chart2/uiconfig/ui/tp_ErrorBars.ui @@ -435,6 +435,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="tp_ErrorBars|IB_RANGE_POSITIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_POSITIVE</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IB_RANGE_POSITIVE-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="tp_ErrorBars|extended_tip|IB_RANGE_POSITIVE">Click a button to shrink the dialog, then use the mouse to select the cell range in the spreadsheet. Click the button again to restore the dialog to full size.</property> @@ -517,6 +518,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="tp_ErrorBars|IB_RANGE_NEGATIVE|tooltip_text">Select data range</property> <property name="image">imageRANGE_SELECT_NEG</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IB_RANGE_NEGATIVE-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="tp_ErrorBars|extended_tip|IB_RANGE_NEGATIVE">Click a button to shrink the dialog, then use the mouse to select the cell range in the spreadsheet. Click the button again to restore the dialog to full size.</property> diff --git a/chart2/uiconfig/ui/tp_RangeChooser.ui b/chart2/uiconfig/ui/tp_RangeChooser.ui index eb277b416514..4581db7dddbf 100644 --- a/chart2/uiconfig/ui/tp_RangeChooser.ui +++ b/chart2/uiconfig/ui/tp_RangeChooser.ui @@ -82,6 +82,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="tp_RangeChooser|IB_RANGE|tooltip_text">Select data range</property> <property name="image">imageIB_RANGE</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="IB_RANGE-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="tp_RangeChooser|extended_tip|IB_RANGE">Enter the data range that you want to include in your chart. To minimize this dialog while you select the data range in Calc, click the Select data range button.</property> |