|
|
@@ -789,6 +789,7 @@
|
|
|
unsigned long color = strtoul([value UTF8String],0,16);
|
|
|
DefaultTableHeaderView* myView = [[DefaultTableHeaderView alloc] initWithFrame:CGRectMake(0, 0, self.itemListTable.bounds.size.width, 40)];
|
|
|
// myView.backgroundColor = UIColorFromRGB(0x996633);
|
|
|
+ myView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
|
|
|
|
|
|
myView.layer.shadowPath =[UIBezierPath bezierPathWithRect:myView.bounds].CGPath;
|
|
|
|
|
|
@@ -799,7 +800,7 @@
|
|
|
self.sortButton.tag = 5678 + 0;
|
|
|
[myView addSubview:self.sortButton];
|
|
|
|
|
|
- UILabel *solabel = [[UILabel alloc] initWithFrame:CGRectMake(130, 5.5, 90, 22)];
|
|
|
+ UILabel *solabel = [[UILabel alloc] initWithFrame:CGRectMake(130, 9, 90, 22)];
|
|
|
solabel.tag = 5678 + 1;
|
|
|
|
|
|
solabel.textColor=UIColorFromRGB(color);
|
|
|
@@ -810,7 +811,7 @@
|
|
|
[myView addSubview:solabel];
|
|
|
CGFloat x = self.itemListTable.bounds.size.width - (768 - 320);
|
|
|
|
|
|
- UILabel *contactlabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 5.5, 90, 22)];
|
|
|
+ UILabel *contactlabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 9, 90, 22)];
|
|
|
contactlabel.tag = 5678 + 2;
|
|
|
|
|
|
contactlabel.textColor=UIColorFromRGB(color);
|
|
|
@@ -821,7 +822,7 @@
|
|
|
[myView addSubview:contactlabel];
|
|
|
|
|
|
x = self.itemListTable.bounds.size.width - (768 - 470);
|
|
|
- UILabel *modellabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 5.5, 90, 22)];
|
|
|
+ UILabel *modellabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 9, 90, 22)];
|
|
|
modellabel.tag = 5678 + 3;
|
|
|
|
|
|
modellabel.textColor=UIColorFromRGB(color);
|
|
|
@@ -832,7 +833,7 @@
|
|
|
[myView addSubview:modellabel];
|
|
|
x = self.itemListTable.bounds.size.width - (768 - 640);
|
|
|
|
|
|
- UILabel *pricelabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 5.5, 90, 22)];
|
|
|
+ UILabel *pricelabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 9, 90, 22)];
|
|
|
pricelabel.tag = 5678 + 4;
|
|
|
|
|
|
pricelabel.textColor=UIColorFromRGB(color);
|
|
|
@@ -852,17 +853,17 @@
|
|
|
[solabel sizeToFit];
|
|
|
|
|
|
UILabel *contactlabel = [self.cartIndicatorBar viewWithTag:5678 + 2];
|
|
|
- contactlabel.frame = CGRectMake(x, 5.5, 90, 22);
|
|
|
+ contactlabel.frame = CGRectMake(x, 9, 90, 22);
|
|
|
[contactlabel sizeToFit];
|
|
|
|
|
|
x = self.itemListTable.bounds.size.width - (768 - 470);
|
|
|
UILabel *modellabel = [self.cartIndicatorBar viewWithTag:5678 + 3];
|
|
|
- modellabel.frame = CGRectMake(x, 5.5, 90, 22);
|
|
|
+ modellabel.frame = CGRectMake(x, 9, 90, 22);
|
|
|
[modellabel sizeToFit];
|
|
|
|
|
|
x = self.itemListTable.bounds.size.width - (768 - 640);
|
|
|
UILabel *pricelabel = [self.cartIndicatorBar viewWithTag:5678 + 4];
|
|
|
- pricelabel.frame = CGRectMake(x, 5.5, 90, 22);
|
|
|
+ pricelabel.frame = CGRectMake(x, 9, 90, 22);
|
|
|
[pricelabel sizeToFit];
|
|
|
}
|
|
|
|