equal
deleted
inserted
replaced
1097 buttons_width = this->width - 130; |
1097 buttons_width = this->width - 130; |
1098 spacing = 0; |
1098 spacing = 0; |
1099 } |
1099 } |
1100 uint extra_spacing_at[] = { 3, 4, 7, 8, 10, 16, 0 }; |
1100 uint extra_spacing_at[] = { 3, 4, 7, 8, 10, 16, 0 }; |
1101 |
1101 |
1102 /* Yes, it defines about 27 widgets for this toolbar */ |
1102 for (uint i = 0, x = 0, j = 0, b = 0; i < this->widget_count; i++) { |
1103 for (uint i = 0, x = 0, j = 0, b = 0; i < 27; i++) { |
|
1104 switch (i) { |
1103 switch (i) { |
1105 case 4: |
1104 case 4: |
1106 this->widget[i].left = x; |
1105 this->widget[i].left = x; |
1107 if (this->width < normal_min_width) { |
1106 if (this->width < normal_min_width) { |
1108 this->widget[i].right = x; |
1107 this->widget[i].right = x; |