Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/ViewDelegate.py

    rcf8d6c9 r97df8a9  
    180180        Overwrite generic painter for certain columns 
    181181        """ 
    182         if index.column() in (self.poly_min, self.poly_max): 
     182        if index.column() in (self.poly_pd, self.poly_min, self.poly_max): 
    183183            # Units - present in nice HTML 
    184184            options = QtWidgets.QStyleOptionViewItem(option) 
     
    263263        Overwrite generic painter for certain columns 
    264264        """ 
    265         if index.column() in (self.mag_min, self.mag_max, self.mag_unit): 
     265        if index.column() in (self.mag_value, self.mag_min, self.mag_max, self.mag_unit): 
    266266            # Units - present in nice HTML 
    267267            options = QtWidgets.QStyleOptionViewItem(option) 
     
    288288            rect = textRect.topLeft() 
    289289            y = rect.y() 
    290             y += 5.0 # magic value for rendering nice display in the table 
     290            y += 6.0 # magic value for rendering nice display in the table 
    291291            rect.setY(y) 
    292292            painter.translate(rect) 
Note: See TracChangeset for help on using the changeset viewer.