Releases: israel-dryer/ttkbootstrap
Releases · israel-dryer/ttkbootstrap
1.7.1
What's Changed
Miscellaneous bug fixes.
Fixed
- Crash caused in tcl script by pathname containing spaces passed to the
MessageCatalog.load
method, fixed by using tcl list for pathname by @israel-dryer in #194 - Vertical scrollbar visible even when 'hidden' when the content frame was shorter than the container; this was fixed by using pack/pack_forget instead of lift/lower to hide the scrollbar by @israel-dryer in #195
Full Changelog: v1.7.0...v1.7.1
1.7.0
What's Changed
New class model for ScrolledFrame
and misc event refactors.
Added
- New
<<MapChild>>
virtual event that is generated on the master or parent widget when a new child is added by @israel-dryer in #190
Changed
- Refactored
bind_all
andbind_class
application binds out of theWindow
class by @israel-dryer in #190 - Completely new class model for the
ScrolledFrame
widget with added parameterscrollheight
by @israel-dryer in #193
Full Changelog: v1.6.2...v1.7.0
1.6.2
What's Changed
Bug fix on MessageCatalog and change default position on dialogs
Fixed
MessageCatalog.set_many
method now works and allows you to add a list of src-translation items into the message catalog on demand by @israel-dryer in #187
Changed
- The default location of dialog is no longer centered on the screen due to issues with Tkinter handling multiple displays. The position now anchors to the NW corner of the parent or master, but also permits you to pass in a
position
parameter to set the x and y position to post the dialog by @israel-dryer in #188 and #189
Full Changelog: v1.6.1...v1.6.2
1.6.1
What's Changed
Changes related to localization and update to default date in dialog.
- Static methods in the MessageCatalog class were not properly decorated as static methods using the @ staticmethod decorator by @israel-dryer in #182.
- Using importlib.resources for package resources to make finding package resource easier when packing via pyinstaller and others by @israel-dryer in #186.
- Date in DateEntry uses system default for language by @antrrax in #174
Full Changelog: v1.6.0...v1.6.1
1.6.0
What's changed
Color widgets, localization, Chinese documentation, and several bug fixes.
Added
- Color selector dialog and color dropper #149 #162 #163
- Add localization module with localized dialog buttons #151 #155 #160 #175
- Translate the docs to Chinese #148 #157 #158 #168
- Convert file structure and config #153
- Added Control + a (select all) in DateEntry #166
Fixed
- Font dialog bug fixes #156
- Fix flashing when building a Window or Toplevel #159
- Fixes bug when typing 0 in the index #165
- Fix Scrolledframe geometry management behavior #179
Changed
- Make default root function part of window module #176
- Update documentation for new classes, modules, and functions #180
New Contributors
- @NewbieXvwu made their first contribution in #148
- @antrrax made their first contribution in #160
Full Changelog: v1.5.1...v1.6.0
1.5.1
Fixed
- Irregular behavior when mixing pack and place geometry managers inside the
ScrolledFrame
widget #140 - Missing font caused failure on certain linux distributions when drawing the checkbutton assets #143
Full Changelog: v1.5.0...v1.5.1
1.5.0
What's Changed
Added
- Add validation module by @israel-dryer in #129. The user can now easily add validation to any Entry type widget such as Entry, Combobox, and Spinbox. Several pre-defined validation functions are included by default, but instructions are in the API for how to easily build new custom validations.
- Add
Colors.make_transparent
method to improve color handling. This will eventually replace theColors.update_hsv
method for building various widget colors that are not in the standard color scheme.
Fixed
- Fix disabled widget colors by @israel-dryer in #128
- Custom stripecolors were not being applied in Tableview #130
- Tableview now reverts to prev page if all rows are hidden or deleted on current page #130
- Page number entered into Entry was adding 1 page to number #130
Full Changelog: v1.4.0...v1.5.0
1.4.0
What's Changed
- Tableview bug fixes and feature upgrades by @israel-dryer in #124
- Enable tableview value updates with property setter by @israel-dryer in #125
Fixed
- Entering a page less than 1 or greater than the max in the page entry no longer returns an empty or invalid page
- The +/- column options in the right-click menu now update when columns are deleted or inserted into the table
- Other miscellaneous not worthy of a write-up
Added
- Default stripe colors are added for all themes
- Bulk delete and insert is now available via the
Tableview.purge_table_data
andTableview.build_table_data
methods. Along with the existing insert methods, delete methods have been added for columns and rows to make the data handling full-featured. - New command in the right-click cell menu
- delete selected rows
- New commands in the right-click header menu
- delete column
- hide column
- show all columns
- Table rows can now be updated with the TableRows.values property
Changed
- The
stripecolor
parameter is enhanced so that passing in a tuple withNone
for background and foreground colors will now cause that element to use a default color. For example:stripecolor=(None, None)
will cause a default foreground and background color whilestripecolor=('yellow', None)
will cause a yellow background and default foreground color. The default setting ofstripecolor=None
will disabled stripecolors altogether.
Full Changelog: v1.3.1...v1.4.0
1.3.1
1.3.0
Added
- ScrolledFrame and ScrolledText by @israel-dryer in #102, #104
- Tableview by @israel-dryer in #110, #117
- disabled and readonly state cursor for entry type widgets by @israel-dryer in #111
Fixed
- window module api issues by @israel-dryer in #109
- disabled fg color for entry, combobox, spinbox by @israel-dryer in #112
Changed
- Removed black dependency with json formatter by @israel-dryer in #107
Full Changelog: v1.2.0...v1.3.0