diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-03-03 17:30:14 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-03-03 17:30:14 +0100 |
commit | ec5d9f79878bbb8d9e0c14d82749963ef70320a9 (patch) | |
tree | bf63917030c71025fdc04ec4dced10d1697cfa97 /framework/source/services | |
parent | becf0f17ce3abec844827763a62ce56e65a649d4 (diff) |
native0: #161727# implement latest UX changes
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 13 |
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; |