tkinterweb 4.17.3__py3-none-any.whl → 4.17.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tkinterweb/htmlwidgets.py +6 -3
- tkinterweb/utilities.py +1 -1
- {tkinterweb-4.17.3.dist-info → tkinterweb-4.17.4.dist-info}/METADATA +1 -1
- {tkinterweb-4.17.3.dist-info → tkinterweb-4.17.4.dist-info}/RECORD +7 -7
- {tkinterweb-4.17.3.dist-info → tkinterweb-4.17.4.dist-info}/LICENSE.md +0 -0
- {tkinterweb-4.17.3.dist-info → tkinterweb-4.17.4.dist-info}/WHEEL +0 -0
- {tkinterweb-4.17.3.dist-info → tkinterweb-4.17.4.dist-info}/top_level.txt +0 -0
tkinterweb/htmlwidgets.py
CHANGED
|
@@ -1414,7 +1414,7 @@ class HtmlLabel(HtmlFrame):
|
|
|
1414
1414
|
else:
|
|
1415
1415
|
utilities.warn("Since version 4.14 the style keyword no longer sets the HtmlLabel's CSS code. Please use the add_css() method instead.")
|
|
1416
1416
|
|
|
1417
|
-
HtmlFrame.__init__(self, master,
|
|
1417
|
+
HtmlFrame.__init__(self, master, shrink=True, **kwargs)
|
|
1418
1418
|
|
|
1419
1419
|
tags = list(self._html.bindtags())
|
|
1420
1420
|
tags.remove("Html")
|
|
@@ -1424,7 +1424,10 @@ class HtmlLabel(HtmlFrame):
|
|
|
1424
1424
|
|
|
1425
1425
|
if text:
|
|
1426
1426
|
self.load_html(text)
|
|
1427
|
-
|
|
1427
|
+
# I'd like to just make this an else statement
|
|
1428
|
+
# But someone in issue 145 mentioned layout issues when that was the case
|
|
1429
|
+
# I can't seem to reproduce it though...?
|
|
1430
|
+
elif self.unshrink or (not self._html.using_tkhtml30 and not self._html.cget("textwrap")):
|
|
1428
1431
|
self.load_html("<body></body>", _relayout=False)
|
|
1429
1432
|
|
|
1430
1433
|
def _handle_html_resize(self, *args, **kwargs):
|
|
@@ -1513,7 +1516,7 @@ class HtmlText(HtmlFrame):
|
|
|
1513
1516
|
self.preserve_flow = True # mostly for debugging
|
|
1514
1517
|
|
|
1515
1518
|
if "horizontal_scrollbar" not in kwargs:
|
|
1516
|
-
kwargs["horizontal_scrollbar"] = "
|
|
1519
|
+
kwargs["horizontal_scrollbar"] = "dynamic"
|
|
1517
1520
|
|
|
1518
1521
|
if state == "enabled":
|
|
1519
1522
|
caret_browsing_enabled=True
|
tkinterweb/utilities.py
CHANGED
|
@@ -31,7 +31,7 @@ __title__ = "TkinterWeb"
|
|
|
31
31
|
__author__ = "Andrew Clarke"
|
|
32
32
|
__copyright__ = "(c) 2021-2025 Andrew Clarke"
|
|
33
33
|
__license__ = "MIT"
|
|
34
|
-
__version__ = "4.17.
|
|
34
|
+
__version__ = "4.17.4"
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
ROOT_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), "resources")
|
|
@@ -3,15 +3,15 @@ tkinterweb/bindings.py,sha256=XE0CPX28YtwBW9g9l0nsVVSHe3O3pX19w6POxorX8_k,73563
|
|
|
3
3
|
tkinterweb/dom.py,sha256=6zEZUGMSdWuwu1-MQOpt1XJN-w_Aku1HGY5P2iM2ksE,43546
|
|
4
4
|
tkinterweb/extensions.py,sha256=QfV13omkMoeXe17JPbeJjykwXtWTcZ24mKuB7NoBgVI,46555
|
|
5
5
|
tkinterweb/handlers.py,sha256=3ptECxVAiSarldfi4_C_mqd7A9xyTzpqvgwOKcBCX_I,42583
|
|
6
|
-
tkinterweb/htmlwidgets.py,sha256=
|
|
6
|
+
tkinterweb/htmlwidgets.py,sha256=oY54k7MHh-h0vv2f1ueKKLFQ_xdzMncxy_iP2dPvi6M,104583
|
|
7
7
|
tkinterweb/imageutils.py,sha256=Du6vX00Isx7z1Q6sVV4po9ycYrP_iDG22ScG04U_huQ,5368
|
|
8
8
|
tkinterweb/js.py,sha256=Wlameh5KGK3GKzBCczaWYWT1L6-5uOWHt1HCZmzrjLk,3597
|
|
9
9
|
tkinterweb/subwidgets.py,sha256=wT4gtUnUE5j9UA8lrKCjLaysWqHav-_46NF97uMswDo,28200
|
|
10
|
-
tkinterweb/utilities.py,sha256=
|
|
10
|
+
tkinterweb/utilities.py,sha256=qbIa6pVBcszMGUnADQS3FWNRUNGfh7WqeslcDms76Qs,43431
|
|
11
11
|
tkinterweb/resources/combobox-2.3.tm,sha256=flofzRxHJMeEj0I--4iLT9SWIo9G1MSIwY0h940tG-U,65083
|
|
12
12
|
tkinterweb/resources/pkgIndex.tcl,sha256=Zp99aTL170d0TbVrWS-6uzaIaykUQbRO0krvmJhcduA,77
|
|
13
|
-
tkinterweb-4.17.
|
|
14
|
-
tkinterweb-4.17.
|
|
15
|
-
tkinterweb-4.17.
|
|
16
|
-
tkinterweb-4.17.
|
|
17
|
-
tkinterweb-4.17.
|
|
13
|
+
tkinterweb-4.17.4.dist-info/LICENSE.md,sha256=Jf8BR3uTR9RLMAA2osul_ZRkvoYRgmlqq1Pd-xt0uMY,1074
|
|
14
|
+
tkinterweb-4.17.4.dist-info/METADATA,sha256=GEebp4G7WKDAUcdRFPjqgJTstCS5qnw20In6nMXyVg0,3133
|
|
15
|
+
tkinterweb-4.17.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
16
|
+
tkinterweb-4.17.4.dist-info/top_level.txt,sha256=QVZQjAzSgzBGwOl41qcOyvkYAwy1FXLlnvwtYvE9Ur4,11
|
|
17
|
+
tkinterweb-4.17.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|