Changeset 7878:fd7b9b63b99a in orange


Ignore:
Timestamp:
04/22/11 16:56:39 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
6419e8ded9fc365f37116e1c1a32dd40962c6c58
Message:

Increased the maximum font size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Unsupervised/OWDistanceMap.py

    r7854 r7878  
    578578                    self.annotationText += [tmpText] 
    579579             
    580             fix = 1.0 if qVersion() >= "4.6" else 0.0 # on Qt 4.6 the graphics simple text item seems to have a diffrent alignment  
     580            fix = 0.0  
    581581                         
    582582            for i in range(0, len(self.annotationText)/2): 
     
    655655 
    656656    def getfont(self, height): 
    657         return QFont("", max(min(height, 8), 2)) 
     657        return QFont("", max(min(height, 16), 2)) 
    658658         
    659659    def updateSelectionRect(self): 
Note: See TracChangeset for help on using the changeset viewer.