summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-11 15:44:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-11 15:46:00 +0100
commit583ac140dcf6f11b21bc9c52516ba2bbcbd37a95 (patch)
tree50980287e3aa4054f1d16b37638540248d870ae5 /basctl/source/basicide/baside2b.cxx
parent045367d9ba43ec6afb003fd9117ae186c7e18e34 (diff)
de-src solo variable watch editbox
Change-Id: I9e69df546d5d6453fbd89b38d4865c9fd3088678
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx19
1 files changed, 11 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index c83bc7bb70fc..ea89aac7185a 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1559,16 +1559,19 @@ namespace
const sal_uInt16 ITEM_ID_TYPE = 3;
}
-WatchWindow::WatchWindow (Layout* pParent) :
- DockingWindow(pParent),
- aWatchStr( IDEResId( RID_STR_REMOVEWATCH ) ),
- aXEdit( VclPtr<ExtendedEdit>::Create(this, IDEResId( RID_EDT_WATCHEDIT )) ),
- aRemoveWatchButton( VclPtr<ImageButton>::Create(this, IDEResId( RID_IMGBTN_REMOVEWATCH )) ),
- aTreeListBox( VclPtr<WatchTreeListBox>::Create(this, WB_BORDER | WB_3DLOOK | WB_HASBUTTONS | WB_HASLINES | WB_HSCROLL | WB_TABSTOP
- | WB_HASLINESATROOT | WB_HASBUTTONSATROOT) ),
- aHeaderBar( VclPtr<HeaderBar>::Create( this, WB_BUTTONSTYLE | WB_BORDER ) )
+WatchWindow::WatchWindow (Layout* pParent)
+ : DockingWindow(pParent)
+ , aWatchStr(IDEResId( RID_STR_REMOVEWATCH))
+ , aXEdit(VclPtr<ExtendedEdit>::Create(this, WB_BORDER | WB_3DLOOK))
+ , aRemoveWatchButton(VclPtr<ImageButton>::Create(this, IDEResId(RID_IMGBTN_REMOVEWATCH)))
+ , aTreeListBox(VclPtr<WatchTreeListBox>::Create(this, WB_BORDER | WB_3DLOOK | WB_HASBUTTONS |
+ WB_HASLINES | WB_HSCROLL | WB_TABSTOP |
+ WB_HASLINESATROOT | WB_HASBUTTONSATROOT))
+ , aHeaderBar(VclPtr<HeaderBar>::Create(this, WB_BUTTONSTYLE | WB_BORDER))
{
aXEdit->SetAccessibleName(IDEResId(RID_STR_WATCHNAME).toString());
+ aXEdit->SetHelpId(HID_BASICIDE_WATCHWINDOW_EDIT);
+ aXEdit->SetSizePixel(aXEdit->LogicToPixel(Size(80, 12), MapUnit::MapAppFont));
aTreeListBox->SetAccessibleName(IDEResId(RID_STR_WATCHNAME).toString());
long nTextLen = GetTextWidth( aWatchStr ) + DWBORDER + 3;