Commit a0a30847ba1684a83936b67ecf45d2a2ff7203ee

Authored by tatiana
1 parent a68ee315

ENH: Dicom preview text size

Showing 1 changed file with 8 additions and 6 deletions   Show diff stats
invesalius/gui/dicom_preview_panel.py
... ... @@ -625,28 +625,30 @@ class SingleImagePreview(wx.Panel):
625 625  
626 626 text_image_size = vtku.Text()
627 627 text_image_size.SetPosition(const.TEXT_POS_LEFT_UP)
628   - text_image_size.SetValue(_("image size"))
  628 + text_image_size.SetValue("")
  629 + text_image_size.SetSize(const.TEXT_SIZE_SMALL)
629 630 self.text_image_size = text_image_size
630 631  
631 632 text_image_location = vtku.Text()
632 633 text_image_location.SetVerticalJustificationToBottom()
633 634 text_image_location.SetPosition(const.TEXT_POS_LEFT_DOWN)
634   - text_image_location.SetValue("localization")
  635 + text_image_location.SetValue("")
  636 + text_image_location.SetSize(const.TEXT_SIZE_SMALL)
635 637 self.text_image_location = text_image_location
636 638  
637   - value = _("id\nprotocol")
638 639 text_patient = vtku.Text()
639 640 text_patient.SetJustificationToRight()
640 641 text_patient.SetPosition(const.TEXT_POS_RIGHT_UP)
641   - text_patient.SetValue(value)
  642 + text_patient.SetValue("")
  643 + text_patient.SetSize(const.TEXT_SIZE_SMALL)
642 644 self.text_patient = text_patient
643 645  
644   - value = _("date time\n Made in InVesalius")
645 646 text_acquisition = vtku.Text()
646 647 text_acquisition.SetJustificationToRight()
647 648 text_acquisition.SetVerticalJustificationToBottom()
648 649 text_acquisition.SetPosition(const.TEXT_POS_RIGHT_DOWN)
649   - text_acquisition.SetValue(value)
  650 + text_acquisition.SetValue("")
  651 + text_acquisition.SetSize(const.TEXT_SIZE_SMALL)
650 652 self.text_acquisition = text_acquisition
651 653  
652 654 renderer = vtk.vtkRenderer()
... ...