Increase of MAX_TAB_COUNT to change appearance of dialog "Book Options" in german language.

The dialog "Book Options" looks in german different, because it has 5 tabs: four standard tabs and additionaly one tab for tax settings, which appears only for german language. The 1 to 4 tabs appearance on top (horizontal mode). The appearance switchs to vertical mode (with tabs on the left side) for 5 and more tabs. Here the setting MAX_TAB_COUNT is increased to 5. This change should make the dialog similar in german and other languages.
This commit is contained in:
Di Mang 2018-07-14 21:45:28 +02:00
parent de927d535d
commit 4c8f822c12

View File

@ -74,7 +74,7 @@ static QofLogModule log_module = GNC_MOD_GUI;
* Point where preferences switch control method from a set of
* notebook tabs to a list.
*/
#define MAX_TAB_COUNT 4
#define MAX_TAB_COUNT 5
/* A pointer to the last selected filename */
#define LAST_SELECTION "last-selection"