Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
410f9eb9
Commit
410f9eb9
authored
Jul 03, 2007
by
pichoro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed text_shape script to sort better.
Changed textbox font to not scale down so small.
parent
8957bd5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
data/magic-new-token.mse-style/style
data/magic-new-token.mse-style/style
+8
-8
No files found.
data/magic-new-token.mse-style/style
View file @
410f9eb9
...
...
@@ -26,12 +26,12 @@ init script:
# What should the textbox look like?
text_shape := {
if
styling.one_textline_tokens
and card
_style.text.content_lines <= 2
and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small
else if card.rule_text != "" or
number_of_items(in:"" + card.flavor_text) > 21 then "2" # large
else
"0" # none
if
card.rule_text == ""
and card
.flavor_text == "<i-flavor></i-flavor>" then "0" # no textbox
else if styling.one_textline_tokens
and card_style.text.content_lines == 2
and card.flavor_text == "<i-flavor></i-flavor>" then "1" # small textbox
else
"2" # large textbox
}
suffix := ""
...
...
@@ -152,7 +152,7 @@ card style:
top:
{ if text_shape() == "1" then 414
else if text_shape() == "2" then 350
else 43
3
}
else 43
0
}
width: 286
height: 20
alignment: top shrink-overflow
...
...
@@ -199,7 +199,7 @@ card style:
name: MPlantin
italic name: MPlantin-Italic
size: 15
scale down to:
6
scale down to:
15
color: rgb(0,0,0)
symbol font:
name:
...
...
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