Changeset 42679 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 8, 2012 11:51:49 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r42678 r42679 701 701 { 702 702 /* Prepare variables: */ 703 int iHorizontalIndent = isRoot() ? 1: iHorizontalMargin;703 int iHorizontalIndent = isRoot() ? 2 : iHorizontalMargin; 704 704 QRect geo = geometry().toRect(); 705 705 int iX = geo.x(); … … 743 743 { 744 744 /* Prepare variables: */ 745 int iHorizontalIndent = isRoot() ? 1: iHorizontalMargin;745 int iHorizontalIndent = isRoot() ? 2 : iHorizontalMargin; 746 746 /* We have to make sure that we had taken into account: */ 747 747 foreach (UIGChooserItem *pItem, items()) … … 1079 1079 /* Add clipping: */ 1080 1080 QPainterPath path; 1081 path.moveTo( 1, 0);1081 path.moveTo(2, 0); 1082 1082 path.lineTo(path.currentPosition().x(), iFullHeaderHeight - 10); 1083 1083 path.arcTo(QRectF(path.currentPosition(), QSizeF(20, 20)).translated(0, -10), 180, 90); 1084 path.lineTo(rect.width() - 10 - 1, path.currentPosition().y());1084 path.lineTo(rect.width() - 10 - 2, path.currentPosition().y()); 1085 1085 path.arcTo(QRectF(path.currentPosition(), QSizeF(20, 20)).translated(-10, -20), 270, 90); 1086 1086 path.lineTo(path.currentPosition().x(), 0);
Note:
See TracChangeset
for help on using the changeset viewer.