Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004832 [Squeak] Kernel minor always 09-09-06 17:44 09-09-06 17:46
Reporter Krivanek View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.10
  Product Build
Summary 0004832: DisplayText composeForm
Description DisplayText >> composeForm

original:

composeForm
    "For the TT strings in MVC widgets in a Morphic world such as a progress bar, the form is created by Morphic machinery."
    | canvas tmpText |
    Smalltalk isMorphic
        ifTrue:
            [tmpText _ TextMorph new contentsAsIs: text deepCopy.
            foreColor ifNotNil: [tmpText text addAttribute: (TextColor color: foreColor)].
            backColor ifNotNil: [tmpText backgroundColor: backColor].
            tmpText setTextStyle: textStyle.
            canvas _ FormCanvas on: (Form extent: tmpText extent depth: 32).
            tmpText drawOn: canvas.
            form _ canvas form.
        ]
        ifFalse: [form _ self asParagraph asForm]

override:

composeForm
    
    "For the TT strings in MVC widgets in a Morphic world such as a progress bar, the form is created by Morphic machinery."
    
    form := UIManager default composeFormFor: self.
    

UI dependent code replaced with the new UIManager message
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0007027 - 21 - 21 - 21 - 21 - 21 - 21)
Krivanek
09-09-06 17:46

[KernelImageOverride]
 

- Issue History
Date Modified Username Field Change
09-09-06 17:44 Krivanek New Issue
09-09-06 17:46 Krivanek Note Added: 0007027


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker