Changeset 97df8a9 in sasview for src/sas


Ignore:
Timestamp:
Aug 6, 2018 4:01:15 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
c0de493, 3d18691
Parents:
04972ea
Message:

More padding fixes for uneven rows SASVIEW-889

Location:
src/sas/qtgui/Perspectives/Fitting
Files:
2 edited

Legend:

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

    r04972ea r97df8a9  
    323323            } 
    324324 
     325            QTreeView::item { 
     326                border: 1px; 
     327                padding: 2px 15px; 
     328            } 
     329 
    325330            QTreeView::item:hover { 
    326331                background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1); 
  • src/sas/qtgui/Perspectives/Fitting/ViewDelegate.py

    r8e2cd79 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) 
Note: See TracChangeset for help on using the changeset viewer.