Home | History | Annotate | Download | only in web

Lines Matching refs:borderSize

57 static const int borderSize = 1;
125 listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0));
128 listBox->setMaxWidthAndLayout(std::max(widgetRectInScreen.width() - borderSize * 2, 0));
148 widgetRectInScreen.setHeight(listBox->popupContentHeight() + borderSize * 2);
176 int rtlOffset = m_controlPosition.p2().x() - m_controlPosition.p1().x() - (m_listBox->width() + borderSize * 2);
185 IntSize targetSize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2);
249 m_listBox->move(borderSize, borderSize);
252 resize(m_listBox->width() + borderSize * 2, m_listBox->height() + borderSize * 2);
359 gc->drawRect(IntRect(tx, ty, width(), borderSize));
360 gc->drawRect(IntRect(tx, ty, borderSize, height()));
361 gc->drawRect(IntRect(tx, ty + height() - borderSize, width(), borderSize));
362 gc->drawRect(IntRect(tx + width() - borderSize, ty, borderSize, height()));
380 listBox()->setBaseWidth(max(controlSize.width() - borderSize * 2, 0));
407 listBox()->setBaseWidth(max(m_controlSize.width() - borderSize * 2, 0));