Home
last modified time | relevance | path

Searched refs:nButtonWidth (Results 1 – 12 of 12) sorted by relevance

/trunk/main/svtools/source/control/
H A Dfilectrl.cxx174 long nButtonWidth = nButtonTextWidth+ButtonBorder; in Resize() local
175 maEdit.SetPosSizePixel( 0, 0, aOutSz.Width()-nButtonWidth, aOutSz.Height() ); in Resize()
176 maButton.SetPosSizePixel( aOutSz.Width()-nButtonWidth, 0, nButtonWidth, aOutSz.Height() ); in Resize()
H A Dtabbar.cxx1305 long nButtonWidth = 0; in Resize() local
1330 nButtonWidth += nHeight; in Resize()
1336 nButtonWidth += nHeight; in Resize()
1342 nButtonWidth += nHeight; in Resize()
1348 nButtonWidth += nHeight; in Resize()
1357 mnLastOffX = maWinSize.Width() - nButtonWidth - 1; in Resize()
1361 mnOffX = nButtonWidth; in Resize()
/trunk/main/uui/source/
H A Dnewerverwarn.cxx177 long nButtonWidth = m_aUpdateBtn .GetSizePixel().Width(); in InitButtonWidth() local
179 if ( nBtnTextWidth > nButtonWidth ) in InitButtonWidth()
181 long nDelta = nBtnTextWidth - nButtonWidth; in InitButtonWidth()
/trunk/main/odk/examples/DevelopersGuide/GUI/
H A DUnoDialogSample2.java58 final static int nButtonWidth = 50; field in UnoDialogSample2
89 final int nButtonPosX = (int)((nDialogWidth/2) - (nButtonWidth/2)); in main()
109 …alogSample2.insertButton(oUnoDialogSample2, nButtonPosX, nButtonPosY, nButtonWidth, "~Close", (sho… in main()
/trunk/main/cui/source/options/
H A Dwebconninfo.cxx134 long nButtonWidth = m_aRemoveBtn.GetSizePixel().Width(); in WebConnectionInfoDialog() local
135 if ( nBtnTextWidth > nButtonWidth ) in WebConnectionInfoDialog()
138 long nDelta = nBtnTextWidth - nButtonWidth; in WebConnectionInfoDialog()
H A Doptinet2.cxx1367 const long nButtonWidth = maSecurityOptionsPB.GetSizePixel().Width(); in InitControls() local
1368 const long nMaxWidth = nButtonWidth * 140 / 100; in InitControls()
1372 if ( nBtnTextWidth > nButtonWidth ) in InitControls()
1375 long nDelta = nBtnTextWidth - nButtonWidth; in InitControls()
/trunk/main/sdext/source/presenter/
H A DPresenterSlideSorter.cxx930 const sal_Int32 nButtonWidth (mpCloseButton->GetSize().Width); in PlaceCloseButton() local
931 const static sal_Int32 nMaxDistanceForCalloutCentering (nButtonWidth * 2); in PlaceCloseButton()
934 if (nCalloutCenter < nButtonWidth/2) in PlaceCloseButton()
935 nCloseButtonCenter = nButtonWidth/2; in PlaceCloseButton()
936 else if (nCalloutCenter > rCenterBox.Width-nButtonWidth/2) in PlaceCloseButton()
937 nCloseButtonCenter = rCenterBox.Width-nButtonWidth/2; in PlaceCloseButton()
/trunk/main/svx/source/stbctrls/
H A Dzoomsliderctrl.cxx78 const long nButtonWidth = 10; variable
326 aImagePoint.X() -= nButtonWidth/2; in Paint()
/trunk/main/sc/source/ui/cctrl/
H A Dtbzoomsliderctrl.cxx153 const long nButtonWidth = 10; variable
517 aImagePoint.X() -= nButtonWidth/2; in DoPaint()
/trunk/main/cui/source/customize/
H A Dmacropg.cxx1018 long nButtonWidth = aButtonSize.Width(); in SetTabPage() local
1033 long nCancelButtonPosX = aDialogSize.Width() - nButtonWidth - nSpaceX + 1; in SetTabPage()
1037 long nOkButtonPosX = nCancelButtonPosX - nButtonWidth - nHalfSpaceX; in SetTabPage()
/trunk/main/vcl/unx/gtk/gdi/
H A Dsalnativewidgets-gtk.cxx2187 gint nButtonWidth; in NWGetComboBoxButtonRect() local
2199 nButtonWidth = nArrowWidth + in NWGetComboBoxButtonRect()
2204 aButtonRect.SetSize( Size( nButtonWidth, aAreaRect.GetHeight() ) ); in NWGetComboBoxButtonRect()
2205 aButtonRect.SetPos( Point( aAreaRect.Left() + aAreaRect.GetWidth() - nButtonWidth, in NWGetComboBoxButtonRect()
2217 aButtonRect.SetSize( Size( aAreaRect.GetWidth() - nButtonWidth - 2 * adjust_x, in NWGetComboBoxButtonRect()
/trunk/main/sfx2/source/dialog/
H A Ddinfdlg.cxx2001 const long nButtonWidth = m_aRemoveButton.GetSizePixel().Width() + nScrollBarWidth + nOffset; in InitControls() local
2004 long nItemWidth = ( nFullWidth - nTypeWidth - nButtonWidth ) / 2; in InitControls()
2008 pHeaderBar->SetItemSize( HI_ACTION, nButtonWidth ); in InitControls()

Completed in 95 milliseconds