Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label background Custom Picture setting exception #293

Closed
Kano-I opened this issue Dec 28, 2022 · 1 comment
Closed

Label background Custom Picture setting exception #293

Kano-I opened this issue Dec 28, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Kano-I
Copy link

Kano-I commented Dec 28, 2022

描述这个Bug
After applying the background picture setting, it can display normally, but when the mouse moves over the label, the whole label turns gray.

重现过程
重现过程的步骤:
1、Select custom picture in the background of the tag
2、Choose a picture
3、Apply setting
4、Mouse moves over the label

截图


系统环境:

  • OS: Windows 10_x64
  • .net framework: 3.5
  • QTTabBar version: v1.5.5-beta.8

Log

2022/12/28 14:23:09
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.19044.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: DrawTab

Message ---
参数无效。
HelpLink ---

Source ---
System.Drawing
StackTrace ---
   在 System.Drawing.Image.get_Width()
   在 QTTabBarLib.QTabControl.DrawBackground(Graphics g, Boolean bSelected, Boolean fHot, Rectangle rctItem, Edges edges, Boolean fVisualStyle, Int32 index)
   在 QTTabBarLib.QTabControl.DrawTab(Graphics g, Rectangle itemRct, Int32 index, QTabItem tabHot, Boolean fVisualStyle)
TargetSite ---
Int32 get_Width()--------------


2022/12/28 14:28:08
.NET 版本: 2.0.50727.9164
操作系统版本: 10.0.19044.0 Major: 10 环境: 64
QT 版本: DevBuild: 2022/11/4 23:59:00 (2.0.50727.9164)
错误信息: DrawTab

Message ---
参数无效。
HelpLink ---

Source ---
System.Drawing
StackTrace ---
   在 System.Drawing.Image.get_Width()
   在 QTTabBarLib.QTabControl.DrawBackground(Graphics g, Boolean bSelected, Boolean fHot, Rectangle rctItem, Edges edges, Boolean fVisualStyle, Int32 index)
   在 QTTabBarLib.QTabControl.DrawTab(Graphics g, Rectangle itemRct, Int32 index, QTabItem tabHot, Boolean fVisualStyle)
TargetSite ---
Int32 get_Width()--------------


QTTabBarException.log

@Kano-I Kano-I added the bug Something isn't working label Dec 28, 2022
@Kano-I
Copy link
Author

Kano-I commented Dec 28, 2022

This question has been answered in #285

@Kano-I Kano-I closed this as completed Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants