Commit graph

304 commits

Author SHA1 Message Date
Melissa LeBlanc-Williams
dd13c494d7
Merge pull request #69 from kmatch98/bitmap_zero
corrected index replacement of tileGrid, and deletion of unused tileGrids
2020-07-13 09:37:39 -07:00
Margaret Matocha
85c9a7f4f6 corrected index replacement of tileGrid, and deletion of unused tileGrids 2020-07-12 15:49:46 -05:00
Melissa LeBlanc-Williams
fa74a7c121
Merge pull request #66 from kmatch98/bitmap_zero
Updated to regenerate all character tileGrids upon text change
2020-07-09 08:48:47 -07:00
Margaret Matocha
bbc0ea9a68 Updated to regenerate all character tileGrids upon text change 2020-07-09 10:28:51 -05:00
Melissa LeBlanc-Williams
48f2fb04b2
Merge pull request #64 from kmatch98/bitmap_zero
Check for zero width/height glyphs
2020-07-08 20:28:12 -07:00
Margaret Matocha
b3114027f3 Check for zero width/height glyphs 2020-07-08 22:23:33 -05:00
Melissa LeBlanc-Williams
f5195246cb
Merge pull request #59 from kmatch98/bitmap_zero
Bitmap zero - Creates 1-pixel bitmap during initialization of tilegrid for background of label
2020-07-08 18:15:37 -07:00
dherrada
a07b79fa45 Fixed discord invite link 2020-07-08 16:49:04 -04:00
kmatch98
ec98a7f54a
Merge pull request #3 from kmatch98/bitmap_zeroV2
Updates bitmap sizing and logic checks for adding/removing bitmap
2020-07-07 20:10:18 -05:00
kmatch98
b6ec018298
Merge branch 'bitmap_zero' into bitmap_zeroV2 2020-07-07 20:05:17 -05:00
kmatch98
c2e3a79dc9
Merge pull request #2 from FoamyGuy/bitmap_zero_patch
fix issue with background being shifted from text. only create bitmap…

There are additional changes that will be merged in the next pull request.
2020-07-07 19:58:36 -05:00
Margaret Matocha
05affa4097 ran black 2020-07-07 19:56:14 -05:00
Margaret Matocha
f106d483a1 Fixed bounding box size calculations and logical flow for updating bitmap in _update_background_color 2020-07-07 19:54:51 -05:00
FoamyGuy
c5af1119d9 remove background tilegrid if text is set to empty and no padding. Fix for Group insert/append issue 2020-07-07 17:20:07 -05:00
FoamyGuy
aa4d0a0036 check if the background tilegrid was added before removing it 2020-07-07 17:01:16 -05:00
FoamyGuy
2063412f78 remove the background tilegrid when not in use. Don't add background tilegrid inside init 2020-07-06 20:50:27 -05:00
FoamyGuy
fdd5bd8894 black format 2020-07-04 10:32:13 -05:00
FoamyGuy
51e13b2e61 fix issue with background being shifted from text. only create bitmap if it will get used. 2020-07-04 10:30:57 -05:00
Margaret Matocha
2d65dc0f5c Reverted a half-updated function for background bitmap management 2020-07-02 22:03:08 -05:00
Margaret Matocha
631d0447b3 Ran black, deleted printdebug statements 2020-07-02 21:51:10 -05:00
Margaret Matocha
062b1bc747 Fixed off-by-one error by int() truncation 2020-07-02 21:49:42 -05:00
Margaret Matocha
0b524cfe2b Updated anchored_position getter/setter 2020-07-02 19:35:50 -05:00
Margaret Matocha
11b6fcbbe2 ran black 2020-07-02 15:12:46 -05:00
Margaret Matocha
c9309dae6a Updated anchored position getter/setter 2020-07-02 15:11:18 -05:00
Margaret Matocha
2caeb592cc Updated initial instancing of Bitmap to non-zero size 2020-07-02 14:00:04 -05:00
Margaret Matocha
646b46d405 Merge remote-tracking branch 'upstream/master' 2020-07-02 13:36:48 -05:00
Melissa LeBlanc-Williams
225b0b176a
Merge pull request #57 from FoamyGuy/fix_anchor_when_text_is_scaled
fix for anchored_position to work correctly with scaled label
2020-07-02 09:32:31 -07:00
FoamyGuy
d020baba0f fix for anchored_position to work correctly with scaled label 2020-06-28 11:01:28 -05:00
Jeff Epler
1dcecb9979
Merge pull request #56 from FoamyGuy/fix_max_glyphs
fix max_glyphs count when text wasn't passed in constructor
2020-06-27 10:17:16 -05:00
FoamyGuy
5fe2117df3 fix max_glyphs count when text wasn't passed in constructor 2020-06-27 09:20:02 -05:00
Kattni
f5288fc8b5
Merge pull request #54 from makermelissa/master
Fix installation via PyPI
2020-06-26 18:45:50 -04:00
Melissa LeBlanc-Williams
0e42a2ddda Fix installation via PyPI 2020-06-26 15:27:17 -07:00
Limor "Ladyada" Fried
d9ac04ec61
Merge pull request #53 from makermelissa/master
Fixed PyLint issues
2020-06-24 10:25:34 -04:00
Melissa LeBlanc-Williams
819eb1dda5 Fixed import order 2020-06-23 17:40:54 -07:00
Melissa LeBlanc-Williams
8661ce1f35 disabled pylint mystery message 2020-06-23 17:36:22 -07:00
Melissa LeBlanc-Williams
207cbc610c
Merge pull request #52 from makermelissa/master
File changes to allow releasing on PyPI
2020-06-23 17:28:57 -07:00
Melissa LeBlanc-Williams
27411f5d09 File changes to allow releasing on PyPI 2020-06-23 13:44:34 -07:00
Scott Shawcroft
cb5e370df4
Merge pull request #51 from caternuson/iss50
Add NoneType check for glyph height
2020-06-18 11:36:22 -07:00
caternuson
d9f759eb43 add glyph check 2020-06-18 10:19:25 -07:00
Jeff Epler
1f2bf53313
Merge pull request #49 from kmatch98/background
Updated background color handling for label
2020-06-06 07:08:35 -05:00
Margaret Matocha
05bd0ad842 deleted unnecessary comment 2020-06-05 23:18:18 -05:00
Margaret Matocha
93130c4da3 Updated sequence of import statements to meet pyline requirement 2020-06-05 21:01:57 -05:00
Margaret Matocha
1be4aa3473 Updated _padding example to meet pylint requirements 2020-06-05 20:58:40 -05:00
Margaret Matocha
2efbd77edd removed comments and re-ran black 2020-06-05 20:24:03 -05:00
Margaret Matocha
f8c69dbe6b ran black for formatting 2020-06-05 19:06:09 -05:00
Margaret Matocha
dcd466207c eliminated a local variable 'bounds' 2020-06-05 18:59:39 -05:00
Margaret Matocha
b49ec93f37 checking the impact of variables on pylint error 2020-06-05 18:53:54 -05:00
Margaret Matocha
a1714217d2 reduced quantity of class instance variables: put padding into a tuple 2020-06-05 18:45:11 -05:00
Margaret Matocha
9f4c2df9b2 updated missing variable to reference back to self instance variables 2020-06-05 18:36:52 -05:00
Margaret Matocha
a52eede646 broke out a separate function for _create_background_box 2020-06-05 18:32:32 -05:00