GithubHelp home page GithubHelp logo

Comments (3)

nmgwddj avatar nmgwddj commented on May 22, 2024

这个版本针对有 alpha 属性的控件有一些改动,感谢您的反馈,我会跟踪排查这个问题。

from nim_duilib_framework.

nmgwddj avatar nmgwddj commented on May 22, 2024

@lovesnow 我根据你的提示没能成功复现这个问题,我的操作步骤是:

1、复制你上面 Control 控件的信息添加到 basic 项目的 xml 中。
2、复制了两个图片到资源 basic/head 目录下
image
3、给 Label 控件添加了一个 ButtonDown 的响应时间来切换图片

dynamic_cast<ui::Label*>(FindControl(L"tooltip"))->AttachButtonDown([this](ui::EventArgs* msg){
	FindControl(L"wx_avatar")->SetBkImage(L"head/wan_heads.png");
	return true;
});

最终效果:
head

from nim_duilib_framework.

smallevilbeast avatar smallevilbeast commented on May 22, 2024

好的 我测试下

from nim_duilib_framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.