Bug 760906 - Fixing warning on new themes.

Both new themes were outputting the following warning for gap_left.png:
"Invalid borders specified for theme pixmap"
"borders don't fit within the image"
The problem was that the sum of the left and right gap borders cannot be
more than the gap file width (2 px in our case).
This commit is contained in:
Jehan 2016-02-06 02:00:06 +01:00
parent 6878b49491
commit a3185f8794
2 changed files with 2 additions and 2 deletions

View File

@ -711,7 +711,7 @@ style "tdsog-notebook-style" = "tdsog-default-style"
border = { 3, 3, 3, 3 }
stretch = TRUE
gap_file = "ui/gap_left.png"
gap_border = { 2, 2, 2, 2 }
gap_border = { 1, 1, 2, 2 }
gap_start_file = "ui/null.png"
gap_end_file = "ui/null.png"
gap_side = LEFT

View File

@ -712,7 +712,7 @@ style "tlsog-notebook-style" = "tlsog-default-style"
border = { 3, 3, 3, 3 }
stretch = TRUE
gap_file = "ui/gap_left.png"
gap_border = { 2, 2, 2, 2 }
gap_border = { 1, 1, 2, 2 }
gap_start_file = "ui/null.png"
gap_end_file = "ui/null.png"
gap_side = LEFT