Changeset a8e368b in sasview


Ignore:
Timestamp:
Apr 5, 2018 3:26:35 AM (7 years ago)
Author:
wojciech
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
47c44f0
Parents:
062c9ea
Message:

Fixing width for printing

Location:
src/sas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/pagestate.py

    r5818dae ra8e368b  
    646646                    name = value.split(':', 1)[1].strip() 
    647647                    file_value = "File name:" + name 
     648                    if len(file_value) > 50: 
     649                        file_value = "File name:.."+file_value[-40:] 
    648650                    file_name = CENTRE % file_value 
    649651                    if len(title) == 0: 
     
    13681370""" 
    13691371FEET_2 = \ 
    1370 """<img src="%s" ></img> 
     1372"""<img src="%s" width="540"></img> 
    13711373""" 
    13721374FEET_3 = \ 
  • src/sas/sasgui/guiframe/report_dialog.py

    r062c9ea ra8e368b  
    7878                          id=button_print.GetId()) 
    7979        hbox.Add(button_print) 
    80          
     80 
    8181        if sys.platform == "win32": 
    8282            button_save = wx.Button(self, wx.NewId(), "Save") 
Note: See TracChangeset for help on using the changeset viewer.