Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
7184cb3c
Commit
7184cb3c
authored
Apr 15, 2019
by
Bas Lijnse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added convenience tuning of CSS style attribute
parent
0fd85bfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Libraries/iTasks/UI/Layout/Common.dcl
Libraries/iTasks/UI/Layout/Common.dcl
+3
-0
Libraries/iTasks/UI/Layout/Common.icl
Libraries/iTasks/UI/Layout/Common.icl
+4
-0
No files found.
Libraries/iTasks/UI/Layout/Common.dcl
View file @
7184cb3c
...
...
@@ -108,6 +108,9 @@ instance tune ScrollContent Task
::
AddCSSClass
=
AddCSSClass
!
String
instance
tune
AddCSSClass
Task
::
CSSStyle
=
CSSStyle
!
String
instance
tune
CSSStyle
Task
//Changing container types
toContainer
::
LayoutRule
...
...
Libraries/iTasks/UI/Layout/Common.icl
View file @
7184cb3c
...
...
@@ -312,6 +312,10 @@ instance tune AddCSSClass Task
where
tune
(
AddCSSClass
s
)
t
=
tune
(
ApplyLayout
(
addCSSClass
s
))
t
instance
tune
CSSStyle
Task
where
tune
(
CSSStyle
s
)
t
=
tune
(
ApplyAttribute
"style"
s
)
t
instance
tune
ToWindow
Task
where
tune
(
ToWindow
windowType
vpos
hpos
)
t
=
tune
(
ApplyLayout
(
toWindow
windowType
vpos
hpos
))
t
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment