summaryrefslogtreecommitdiff
path: root/framework/source/services
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-03-03 17:30:14 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2010-03-03 17:30:14 +0100
commitec5d9f79878bbb8d9e0c14d82749963ef70320a9 (patch)
treebf63917030c71025fdc04ec4dced10d1697cfa97 /framework/source/services
parentbecf0f17ce3abec844827763a62ce56e65a649d4 (diff)
native0: #161727# implement latest UX changes
Diffstat (limited to 'framework/source/services')
-rw-r--r--framework/source/services/backingwindow.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx
index 0ff26114a4..7696ab6ced 100644
--- a/framework/source/services/backingwindow.cxx
+++ b/framework/source/services/backingwindow.cxx
@@ -506,6 +506,9 @@ void BackingWindow::initControls()
aModuleOptions, SvtModuleOptions::E_SWRITER,
maOpenButton, maOpenText, aMnemns, maOpenString );
nYPos += 10;
+
+ // change taborder to reflect changed positions
+ maOpenButton.SetZOrder( &maDrawButton, WINDOW_ZORDER_BEFOR );
}
else
{
@@ -527,6 +530,16 @@ void BackingWindow::initControls()
if( mnLayoutStyle == 1 )
{
+ if( mnTextColumnWidth[1] > mnTextColumnWidth[0] )
+ {
+ mnColumnWidth[0] = mnColumnWidth[1];
+ mnTextColumnWidth[0] = mnTextColumnWidth[1];
+ }
+ else
+ {
+ mnColumnWidth[1] = mnColumnWidth[0];
+ mnTextColumnWidth[1] = mnTextColumnWidth[0];
+ }
if( maControlRect.GetWidth() < maControlRect.GetHeight() * 3 / 2 )
{
maControlRect.Right() = maControlRect.Left() + maControlRect.GetHeight() * 3 / 2;