[gnome-calculator] Fix all the financial dialogs
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Fix all the financial dialogs
- Date: Sun, 20 Sep 2015 14:26:35 +0000 (UTC)
commit a533dbedbaf6d9e52deb19b3dd6bd6fde261f809
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 18 16:53:37 2015 -0400
Fix all the financial dialogs
All these dialogs contain long labels which need a minimum
line width to prevent them from growing super-tall.
https://bugzilla.gnome.org/show_bug.cgi?id=707459
data/buttons-financial.ui | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/buttons-financial.ui b/data/buttons-financial.ui
index 4371a7c..690565d 100644
--- a/data/buttons-financial.ui
+++ b/data/buttons-financial.ui
@@ -146,6 +146,7 @@
<object class="GtkLabel" id="label9">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Compounding Term Dialog: Description of
calculation">Calculates the number of compounding periods necessary to increase an investment of present
value to a future value, at a fixed interest rate per compounding period.</property>
<property name="wrap">True</property>
</object>
@@ -253,6 +254,7 @@
<object class="GtkLabel" id="label7">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Double-Declining Depreciation Dialog:
Description of calculation">Calculates the depreciation allowance on an asset for a specified period of time,
using the double-declining balance method.</property>
<property name="wrap">True</property>
</object>
@@ -437,6 +439,7 @@
<object class="GtkLabel" id="label12">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Future Value Dialog: Description of
calculation">Calculates the future value of an investment based on a series of equal payments at a periodic
interest rate over the number of payment periods in the term.</property>
<property name="wrap">True</property>
</object>
@@ -621,6 +624,7 @@
<object class="GtkLabel" id="label47">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Gross Profit Margin Dialog: Description
of calculation">Calculates the resale price of a product, based on the product cost and the wanted gross
profit margin.</property>
<property name="wrap">True</property>
</object>
@@ -774,6 +778,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Periodic Payment Dialog: Description of
calculation">Calculates the amount of the periodic payment of a loan, where payments are made at the end of
each payment period. </property>
<property name="wrap">True</property>
</object>
@@ -959,6 +964,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Present Value Dialog: Description of
calculation">Calculates the present value of an investment based on a series of equal payments discounted at
a periodic interest rate over the number of payment periods in the term. </property>
<property name="wrap">True</property>
</object>
@@ -1144,6 +1150,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Periodic Interest Rate Dialog:
Description of calculation">Calculates the periodic interest necessary to increase an investment to a future
value, over the number of compounding periods. </property>
<property name="wrap">True</property>
</object>
@@ -1422,6 +1429,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Straight-Line Depreciation Dialog:
Description of calculation">Calculates the straight-line depreciation of an asset for one period. The
straight-line method of depreciation divides the depreciable cost evenly over the useful life of an asset.
The useful life is the number of periods, typically years, over which an asset is depreciated. </property>
<property name="wrap">True</property>
</object>
@@ -1638,6 +1646,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Sum-of-the-Years'-Digits Depreciation
Dialog: Description of calculation">Calculates the depreciation allowance on an asset for a specified period
of time, using the Sum-of-the-Years'-Digits method. This method of depreciation accelerates the rate of
depreciation, so that more depreciation expense occurs in earlier periods than in later ones. The useful life
is the number of periods, typically years, over which an asset is depreciated. </property>
<property name="wrap">True</property>
</object>
@@ -1823,6 +1832,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
+ <property name="width-chars">50</property>
<property name="label" translatable="yes" comments="Payment Period Dialog: Description of
calculation">Calculates the number of payment periods that are necessary during the term of an ordinary
annuity, to accumulate a future value, at a periodic interest rate.</property>
<property name="wrap">True</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]