summaryrefslogtreecommitdiff
path: root/framework
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
commit4944695115f8cb6fda88031ca68209b6d509d066 (patch)
tree0055c649ddd8e9661495351b530d1f92316da9d7 /framework
parentba5d1771524632c2d355240fd22a694f6e16e4a2 (diff)
native0: #161727# implement latest UX changes
Diffstat (limited to 'framework')
-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 b36398db4ead..8ac6382078ec 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;