Adding a limit to the header. to let it be short.
This commit is contained in:
parent
87dcc43e4d
commit
0efe65d061
@ -226,7 +226,7 @@ GrafoscopioAbstractNode >> tags: aCollection [
|
|||||||
GrafoscopioAbstractNode >> title [
|
GrafoscopioAbstractNode >> title [
|
||||||
"Returns the receiver header"
|
"Returns the receiver header"
|
||||||
|
|
||||||
^ header size > 10 ifTrue: [ (header readStream next: 8) , '...' ]
|
^ header size > 30 ifTrue: [ (header readStream next: 28) , '...' ] ifFalse: [ header ]
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'as yet unclassified' }
|
{ #category : #'as yet unclassified' }
|
||||||
|
@ -777,12 +777,7 @@ GrafoscopioNewNotebook >> notebookSubMenu [
|
|||||||
name: 'See pdf';
|
name: 'See pdf';
|
||||||
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
||||||
action: [ self seePdf ] ].
|
action: [ self seePdf ] ].
|
||||||
group
|
|
||||||
addItem: [ :item |
|
|
||||||
item
|
|
||||||
name: 'Import Article';
|
|
||||||
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
|
||||||
action: [ self importArticle ] ].
|
|
||||||
group
|
group
|
||||||
addItem: [ :item |
|
addItem: [ :item |
|
||||||
item
|
item
|
||||||
|
@ -748,12 +748,7 @@ GrafoscopioNotebook >> notebookSubMenu [
|
|||||||
name: 'See pdf';
|
name: 'See pdf';
|
||||||
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
||||||
action: [ self seePdf ] ].
|
action: [ self seePdf ] ].
|
||||||
group
|
|
||||||
addItem: [ :item |
|
|
||||||
item
|
|
||||||
name: 'Import Article';
|
|
||||||
icon: (Smalltalk ui icons iconNamed: #smallInspectIt);
|
|
||||||
action: [ self importArticle ] ].
|
|
||||||
group
|
group
|
||||||
addItem: [ :item |
|
addItem: [ :item |
|
||||||
item
|
item
|
||||||
|
Loading…
Reference in New Issue
Block a user