diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/filtdlg.cxx | 18 | ||||
-rw-r--r-- | sc/uiconfig/scalc/ui/standardfilterdialog.ui | 1 |
2 files changed, 13 insertions, 6 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx index 81de508a3a82..5a2c6baa3fc4 100644 --- a/sc/source/ui/dbgui/filtdlg.cxx +++ b/sc/source/ui/dbgui/filtdlg.cxx @@ -182,6 +182,11 @@ void ScFilterDlg::Init( const SfxItemSet& rArgSet ) pLbConnect3->SetSelectHdl( LINK( this, ScFilterDlg, LbSelectHdl ) ); pLbConnect4->SetSelectHdl( LINK( this, ScFilterDlg, LbSelectHdl ) ); + pLbField1->setMaxWidthChars(10); + pLbField2->setMaxWidthChars(10); + pLbField3->setMaxWidthChars(10); + pLbField4->setMaxWidthChars(10); + pLbCond1->SetSelectHdl( LINK( this, ScFilterDlg, LbSelectHdl ) ); pLbCond2->SetSelectHdl( LINK( this, ScFilterDlg, LbSelectHdl ) ); pLbCond3->SetSelectHdl( LINK( this, ScFilterDlg, LbSelectHdl ) ); @@ -373,12 +378,13 @@ void ScFilterDlg::Init( const SfxItemSet& rArgSet ) pEdVal4->Disable(); } - if(pDoc!=nullptr && - pDoc->GetChangeTrack()!=nullptr) pBtnCopyResult->Disable(); - // Switch on modal mode -// SetDispatcherLock( true ); - //@BugID 54702 Enable/disable only in Basic class -// SFX_APPWINDOW->Disable(false); //! general method in ScAnyRefDlg + pEdVal1->setMaxWidthChars(10); + pEdVal2->setMaxWidthChars(10); + pEdVal3->setMaxWidthChars(10); + pEdVal4->setMaxWidthChars(10); + + if (pDoc != nullptr && pDoc->GetChangeTrack() != nullptr) + pBtnCopyResult->Disable(); } bool ScFilterDlg::Close() diff --git a/sc/uiconfig/scalc/ui/standardfilterdialog.ui b/sc/uiconfig/scalc/ui/standardfilterdialog.ui index 441c04351c6d..384874ab8f95 100644 --- a/sc/uiconfig/scalc/ui/standardfilterdialog.ui +++ b/sc/uiconfig/scalc/ui/standardfilterdialog.ui @@ -7,6 +7,7 @@ <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes">Standard Filter</property> + <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> |