mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-26 03:18:22 +01:00
f61e17de9c
Some checks reported errors
gitea-sync/Diya-API/pipeline/head Something is wrong with the build of this commit
25 lines
548 B
Smalltalk
25 lines
548 B
Smalltalk
Class {
|
|
#name : #DiyaDefaultAppLoader,
|
|
#superclass : #DiyaDefaultSystemLoader,
|
|
#instVars : [
|
|
'label'
|
|
],
|
|
#category : #'Diya-Applications'
|
|
}
|
|
|
|
{ #category : #initialization }
|
|
DiyaDefaultAppLoader >> updateLayout [
|
|
super updateLayout.
|
|
label ifNil:[
|
|
label := node addNode: (DiyaText new) at: (progress position + (0@25)).
|
|
label inlineStyle: #xAlign value: #center
|
|
].
|
|
label extent: (progress extent x) @ 40.
|
|
]
|
|
|
|
{ #category : #scheduling }
|
|
DiyaDefaultAppLoader >> updateProgress: name percent: p [
|
|
label data: name.
|
|
progress percent: p
|
|
]
|