Tag: cws_src680_dba24d User: fs Date: 2007-11-19 21:48:05+0000 Modified: dba/dbaccess/source/ui/querydesign/querycontroller.cxx
Log: nicer UI for the ID_EDIT_QUERY_DESIGN feature File Changes: Directory: /dba/dbaccess/source/ui/querydesign/ =============================================== File [changed]: querycontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/querycontroller.cxx?r1=1.111.2.1&r2=1.111.2.2 Delta lines: +7 -6 ------------------- --- querycontroller.cxx 2007-11-08 14:17:19+0000 1.111.2.1 +++ querycontroller.cxx 2007-11-19 21:48:03+0000 1.111.2.2 @@ -4,9 +4,9 @@ * * $RCSfile: querycontroller.cxx,v $ * - * $Revision: 1.111.2.1 $ + * $Revision: 1.111.2.2 $ * - * last change: $Author: fs $ $Date: 2007/11/08 14:17:19 $ + * last change: $Author: fs $ $Date: 2007/11/19 21:48:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -742,10 +742,11 @@ if ( pNode ) { Window* pView = getView(); - ModalDialog* pWindow = new ModalDialog(pView); - pWindow->SetPosSizePixel(::Point(0,0),pView->GetSizePixel()); - SvTreeListBox* pTreeBox = new SvTreeListBox(pWindow); - pTreeBox->SetPosSizePixel(::Point(0,0),pView->GetSizePixel()); + ModalDialog* pWindow = new ModalDialog( pView, WB_STDMODAL | WB_SIZEMOVE | WB_CENTER ); + pWindow->SetSizePixel( ::Size( pView->GetSizePixel().Width() / 2, pView->GetSizePixel().Height() / 2 ) ); + SvTreeListBox* pTreeBox = new SvTreeListBox( pWindow, WB_BORDER | WB_HASLINES | WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HASLINESATROOT | WB_VSCROLL ); + pTreeBox->SetPosSizePixel( ::Point( 6, 6 ), ::Size( pWindow->GetSizePixel().Width() - 12, pWindow->GetSizePixel().Height() - 12 )); + pTreeBox->SetNodeDefaultImages(); if ( _nId == ID_EDIT_QUERY_DESIGN ) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
