summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-03-16 17:52:28 -0700
committerRichard Linden <none@none>2012-03-16 17:52:28 -0700
commit5f90875a9e92c7c92f92a32e64908a776fce64c6 (patch)
treeafcec4f735136689f786f45d4f01e9d2aa268a86 /indra/llui
parent8fe733df4e7893e784b8903f8e936ffb184ced44 (diff)
EXP-1181 FIX as a designer I would like to specify default floater positions using realtive coordinates
changed settings naming scheme for floater positioning so that related settings appear together in file
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfloaterreg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp
index 3d124cf885..9115eb7174 100644
--- a/indra/llui/llfloaterreg.cpp
+++ b/indra/llui/llfloaterreg.cpp
@@ -375,7 +375,7 @@ std::string LLFloaterReg::declareRectControl(const std::string& name)
std::string LLFloaterReg::declarePosXControl(const std::string& name)
{
- std::string controlname = std::string("floater_pos_x_") + getBaseControlName(name);
+ std::string controlname = std::string("floater_pos_") + getBaseControlName(name) + "_x";
LLFloater::getControlGroup()->declareF32(controlname,
10.f,
llformat("Window X Position for %s", name.c_str()),
@@ -385,7 +385,7 @@ std::string LLFloaterReg::declarePosXControl(const std::string& name)
std::string LLFloaterReg::declarePosYControl(const std::string& name)
{
- std::string controlname = std::string("floater_pos_y_") + getBaseControlName(name);
+ std::string controlname = std::string("floater_pos_") + getBaseControlName(name) + "_y";
LLFloater::getControlGroup()->declareF32(controlname,
10.f,
llformat("Window Y Position for %s", name.c_str()),