Searched refs:availableWidth (Results 1 – 6 of 6) sorted by relevance
308 int availableWidth = r.width; in updateColumnWidths() local313 availableWidth -= column.getWidth(); in updateColumnWidths()315 if (availableWidth != 0) { in updateColumnWidths()317 column.setWidth(column.getWidth() + availableWidth / 2); in updateColumnWidths()319 column.setWidth(column.getWidth() + availableWidth / 2 + availableWidth % 2); in updateColumnWidths()
186 int availableWidth = r.width; in updateColumnWidths() local190 availableWidth -= column.getWidth(); in updateColumnWidths()192 if (availableWidth > 100) { in updateColumnWidths()193 mTable.getColumn(0).setWidth(availableWidth); in updateColumnWidths()
364 int availableWidth = clientArea.x + clientArea.width - getX(); in rowLayout() local395 if (x > 0 && x + preview.getWidth() > availableWidth) { in rowLayout()481 int availableWidth = clientArea.x + clientArea.width - getX(); in previewsFit() local489 availableWidth * (Math.max(0, availableHeight - bottomBorder)); in previewsFit()506 int availableWidth = clientArea.x + clientArea.width - getX(); in layoutFullFit() local526 availableWidth - rightHandSide + PREVIEW_HGAP, in layoutFullFit()530 availableWidth + PREVIEW_HGAP, maxVisibleY - bottomBorder + PREVIEW_VGAP)); in layoutFullFit()
1417 int availableWidth = displayBounds.x + displayBounds.width - pt.x - 10; in setupTooltip()1418 if (availableWidth < 80) { in setupTooltip()1419 availableWidth = 80; in setupTooltip()1422 if (size.x > availableWidth) { in setupTooltip()1423 size = mTip.computeSize(availableWidth, SWT.DEFAULT); in setupTooltip()
219 int availableWidth = r.width; in updateColumnWidths() local223 availableWidth -= column.getWidth(); in updateColumnWidths()225 if (availableWidth > 100) { in updateColumnWidths()226 mTree.getColumn(0).setWidth(availableWidth); in updateColumnWidths()
559 int availableWidth = r.width; in controlResized() local562 availableWidth -= ID_COLUMN_WIDTH; in controlResized()565 mNameColumn.setWidth(availableWidth); in controlResized()