aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
authorGravatar OmegaPhil2014-11-04 16:47:02 +0000
committerGravatar OmegaPhil2014-11-04 16:47:02 +0000
commit2e7e3406f55c82b64339d149d15973e09d76b4a9 (patch)
treec8bdebc69c2bf2d23056d2cbe72590f61bca0a38 /src/modules/objects
parentEnsure focussed widget is sensible when search mode is toggled (diff)
downloadKVIrc-2e7e3406f55c82b64339d149d15973e09d76b4a9.tar.gz
KVIrc-2e7e3406f55c82b64339d149d15973e09d76b4a9.tar.bz2
KVIrc-2e7e3406f55c82b64339d149d15973e09d76b4a9.zip
KVIrc Script: Rename alignment 'WordBreak' to 'Justify'
Affects labels, hboxes and vboxes Fixes #1469 / https://svn.kvirc.de/kvirc/ticket/1469 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6393 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/KvsObject_hBox.cpp5
-rw-r--r--src/modules/objects/KvsObject_label.cpp5
-rw-r--r--src/modules/objects/KvsObject_vBox.cpp5
3 files changed, 9 insertions, 6 deletions
diff --git a/src/modules/objects/KvsObject_hBox.cpp b/src/modules/objects/KvsObject_hBox.cpp
index c9c5b53fb..da9c6c6e6 100644
--- a/src/modules/objects/KvsObject_hBox.cpp
+++ b/src/modules/objects/KvsObject_hBox.cpp
@@ -5,6 +5,7 @@
//
// This file is part of the KVIrc irc client distribution
// Copyright (C) 2005-2009 Alessandro Carbone (elfonol at gmail dot com)
+// Copyright (C) 2014 OmegaPhil (OmegaPhil@startmail.com)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -36,7 +37,7 @@ const char * const align_tbl[] = {
"Center",
"Top",
"Bottom",
- "WordBreak"
+ "Justify"
};
@@ -79,7 +80,7 @@ const int align_cod[] = {
Adds a stretchable space with zero minimum size and stretch factor stretch to the end of this box layout.
!fn: $setAlignment(<flag1:string>, <flag2:string>, ...)
Sets the alignment for widget w to flags, given as parameters.
- Valid flags are:Right,Left,Top,Bottom,HCenter,VCenter,Center
+ Valid flags are: Right, Left, Top, Bottom, HCenter, VCenter, Center, Justify
*/
diff --git a/src/modules/objects/KvsObject_label.cpp b/src/modules/objects/KvsObject_label.cpp
index 9afd1bee8..e07cc5ee7 100644
--- a/src/modules/objects/KvsObject_label.cpp
+++ b/src/modules/objects/KvsObject_label.cpp
@@ -6,6 +6,7 @@
// This file is part of the KVIrc irc client distribution
// Copyright (C) 2000 Krzysztof Godlewski
// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2014 OmegaPhil (OmegaPhil@startmail.com)
//LinkDelegationPolicy
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -45,7 +46,7 @@ const char * const align_tbl[] = {
"Center",
"Top",
"Bottom",
- "WordBreak"
+ "Justify"
};
const int align_cod[] = {
@@ -136,7 +137,7 @@ const int frame_cod[] = {
HCenter - Text is horizontally centered[br]
VCenter - Text is vertically centered[br]
Center - Equals HCenter + VCenter[br]
- WordBreak - Enables automatic word breaking[br]
+ Justify - Text is spaced apart to cover available room[br]
[/pre]
It is obvious that you can not set [i]Right[/i]
and [i]Left[/i] simoultaneously - this will [b]NOT[/b]
diff --git a/src/modules/objects/KvsObject_vBox.cpp b/src/modules/objects/KvsObject_vBox.cpp
index 59f0882ad..875daddf6 100644
--- a/src/modules/objects/KvsObject_vBox.cpp
+++ b/src/modules/objects/KvsObject_vBox.cpp
@@ -6,6 +6,7 @@
//
// This file is part of the KVIrc irc client distribution
// Copyright (C) 2005-2008 Alessandro Carbone (elfonol at gmail dot com)
+// Copyright (C) 2014 OmegaPhil (OmegaPhil@startmail.com)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -41,7 +42,7 @@ const char * const align_tbl[] = {
"Center",
"Top",
"Bottom",
- "WordBreak"
+ "Justify"
};
@@ -83,7 +84,7 @@ const int align_cod[] = {
Adds a stretchable space with zero minimum size and stretch factor stretch to the end of this box layout.
!fn: $setAlignment(<flag1:string>, <flag2:string>, ...)
Sets the alignment for widget w to flags, given as parameters.
- Valid flags are:Right,Left,Top,Bottom,HCenter,VCenter,Center
+ Valid flags are: Right, Left, Top, Bottom, HCenter, VCenter, Center, Justify
*/