Releases: Xiaokang2022/maliang
3.1.5
Full Commits: 3.1.4...3.1.5
Important
Starting from this version, docstrings have shifted from Markdown style to Google style
文档字符串从这个版本开始从 Markdown 风格转向 Google 风格
🟢 Added / 新增
- Add a new extension package:
maliang-table
新增了一个扩展包:maliang-table
🟣 Fixed / 修复
-
Fix typos in the parameters of some functions in submodules
color.rgbandcolor.hsl
修复子模块color.rgb和color.hsl中一些函数的参数的错别字 -
Fixed a typo in the instance variable
initial_imageof the classvirtual.Image
修复了类virtual.Image的实例变量initial_image的错别字
🟤 Refactored / 重构
- Improve code for readability and maintainability
改善代码,提高可读性和可维护性
💥 Breaking Changes / 破坏性更改
- Some parameter names were originally typos and have now been corrected, causing a very small portion of API incompatibility
某些参数名原来是错别字,现在更正了,造成了极小部分 API 不兼容
3.1.4
Full Commits: 3.1.3...3.1.4
🔵 Optimized / 优化
- Share the style data of the object
Style, reducing memory consumption and speeding up widget building
共享对象Style的样式数据,减少内存消耗并提升控件构建速度
Issue: #129
🟤 Refactored / 重构
- Improve code for readability and maintainability
改善代码,提高可读性和可维护性
3.1.3
Full Commits: 3.1.2...3.1.3
🟢 Added / 新增
- Added method
existsto all widgets
为所有控件新增了方法exists
Issue: #125
🟣 Fixed / 修复
-
Fixed a bug where the value of the widget
SpinBoxcould cause unexpected results when the value was large
修复了控件SpinBox在值比较大时会导致意外结果的 bug
Issue: #122 -
Fixed a bug where the widget
Canvaswould be updated unexpectedly
修复了控件Canvas会被意外更新的 bug
Issue: #124
🔵 Optimized / 优化
- Reduced the amount of memory used by the widget after calling the
destroymethod
降低了控件在调用方法destroy后所占用的内存量
3.1.2
Full Commits: 3.1.1...3.1.2
🟢 Added / 新增
-
Some widgets have added the ability to automatically and dynamically update the size
一些控件可以自动地动态更新大小
Issue: #119 (Partially Resolved) -
Added parameter
fontto functionget_text_size
函数get_text_size增加了参数font
🟣 Fixed / 修复
- Fixed a bug where the widgets
TextandImagewould unexpectedly modify the mouse style (3.1.1regression)
修复了控件Text和Image会意外修改鼠标样式的 bug(3.1.1回归)
3.1.1
Full Commits: 3.1.0...3.1.1
🟢 Added / 新增
-
Keyboard Tab and Shift+Tab are supported to manipulate widgets, and Enter is used to simulate clicking on a widget with focus
支持通过键盘 Tab 和 Shift+Tab 来操控控件,并通过 Enter 来模拟点击具有焦点的控件
Issue: #70 -
Add method
regionto classvirtual.Widgetto get the display area of the current widget
类virtual.Widget新增方法region来获取当前控件的显示区域 -
Add method
centerto classvirtual.Widgetto get the center coordinates of the display area of the current widget
类virtual.Widget新增方法center来获取当前控件的显示区域的中心坐标 -
Add parameter
wrap_lengthto functionutility.get_text_size
函数utility.get_text_size新增参数wrap_length -
Improve some type hints
完善部分类型提示
🟣 Fixed / 修复
-
Fix a bug where the widget
Tooltipdid not work for the widgetTextandImage
修复控件Tooltip无法对控件Text和Image生效的 bug
Issue: #77 -
Fix some incorrect type hints
修复部分错误的类型提示
3.1.0
Full Commits: 3.0.5...3.1.0
🟢 Added / 新增
-
Some animation classes can take effect on multiple objects at the same time
一些动画类可以对多个对象同时生效
Issue: #106 -
Add method
liftto classvirtual.Widget
类virtual.Widget新增方法lift
Issue: #116 -
Add the ability for widget
Textto set the length of character wrapping
给控件Text增加能够设置自动换行的字符长度的功能
Issue: #97 -
Some functionalities for operating widgets using the keyboard have been implemented
实现了一些使用键盘操作控件的功能
Issue: #70 (Partially Resolved)
🟣 Fixed / 修复
-
Fix a bug that generating unexpected warnings
修复了生成非预期警告的 bug
Issue: #117 -
Fix an exception caused by inconsistent state parameters when updating nested widgets
修复更新嵌套控件时状态参数不一致导致的异常
Issue: #113 -
Fix a wrong type hint
修复一个错误的类型提示
🔵 Optimized / 优化
- Reduce memory usage and improve responsiveness
降低内存使用量并提高事件响应速度
💥 Breaking Changes / 破坏性更改
- The default value of the parameter
nestedfor the methodWidget.updatehas been changed fromTruetoFalse
方法Widget.update的参数nested的默认值由True变更为False
3.0.5
Full Commits: 3.0.4...3.0.5
🔵 Optimized / 优化
-
Improve the performance of functions
color.rgb.blendandcolor.hsl.blend
提高了函数color.rgb.blend和color.hsl.blend的性能 -
Optimize part of the import, increasing the import speed.
优化部分导入,提高导入速度
3.0.4
Full Commits: 3.0.3...3.0.4
🟣 Fixed / 修复
-
Fix a bug where the cursor still flashes when widget
InputBoxis disabled
修复了控件InputBox在禁用后光标仍然闪烁的 bug
Issue: #92 -
Fix an issue where the widget
InputBoxis freezing in some cases when entering text
修复了控件InputBox在高度设置比较大的时候,限制文本长度将导致程序卡死的 bug
Issue: #100 -
Fix a bug where the text of widget
InputBoxwill extend beyond the text box
修复了控件InputBox的文本会超出文本框边界的 bug
Issue: #101 -
Partially fix a bug that cause the window to flicker when it started
部分修复了窗口在启动时会闪烁的 bug
Issue: #102
3.0.3
Full Commits: 3.0.2...3.0.3
🟢 Added / 新增
-
Add a read-only property
childrento virtual widget classWidgetto access its child widgets
增加了一个只读的属性children给虚拟控件类Widget来访问它的子控件 -
Add a basic class
TkFileChooserto accommodate moduletkinter
增加了一个基础的类TkFileChooser来适配模块tkinter
Pull Request: #82 Contributor: @3190
🟣 Fixed / 修复
-
Fix the bug that the
ComboBoxwidget can not close the selection box without selecting it after clicking to open it
修复了控件ComboBox在点击打开选项列表后不选中选择框就无法关闭的 bug
Issue: #87 Pull Request: #89 Contributor: @shu-shu-1 -
Fix some typos
修正了一些错字
3.0.2
Full Commits: 3.0.1...3.0.2
🟣 Fixed / 修复
animation.animations.MoveTkWidgetwill produce an incorrect displacement fortkinterwidgets with a parameteranchorthat is not equal to"nw"
animation.animations.MoveTkWidget会对参数anchor不等于"nw"的tkinter控件产生错误的位移
Issue: #81