Comments (3)
程序:
- dialog_create 创建的dialog没有title.
- dialog_create_simple 创建的dialog有title.
XML(不指定dialog_title/dialog_client即可),如:
1 <dialog style="notitle" anim_hint="fade(duration=300)" x="c" y="m" w="80%" h="160">
2 <label name="" x="center" y="middle:-20" w="200" h="30" text="Are you ready?"/>
3 <button name="quit" x="10" y="bottom:10" w="40%" h="30" text="Yes"/>
4 <button name="quit" x="right:10" y="bottom:10" w="40%" h="30" text="No"/>
5 </dialog>
参考:demos/assets/raw/ui/fade.xml
from awtk.
了解了
from awtk.
我也想实现没有“标题栏”的dialog,但试了很多次都没有成功,能贴个源代码吗?谢谢!
from awtk.
Related Issues (20)
- 为何slist_tail_pop 或slist_head_pop 弹出元素后默认会从列表中删除掉? HOT 1
- 请教字体解析问题? HOT 1
- scroll view控件在point move的时候好像是直接设置偏移量没有启用滚动动画,当pointmove的前后坐标相差过大的时候会出现,srollview会突变,这个有什么办法可以优化吗
- 请教个问题? HOT 1
- 滑动scrollview时会改变list_item控件的状态(会从normal改为pressed),导致出现类似点击list_item控件一样的效果。 HOT 9
- 普通label出现文本重影 HOT 2
- 请假字体加载问题 HOT 1
- AWTK Designer可以帮忙开通下不?我是个人使用,不是公司使用的. HOT 3
- 请问问题label_resize_to_content? HOT 4
- Ubuntu18.04执行scons报: wayland-util.h: No such file or directory HOT 1
- xml布局属性值的介绍有吗
- 关于Linux下资源加载问题? HOT 2
- 【关于AWTK 鼠标卡顿的问题】
- 能否提供Rust语言的绑定 HOT 2
- 一个页面带有gif控件,关闭这个页面时,有时在屏幕留下残影 HOT 11
- gif problem
- AttributeError: 'tuple' object has no attribute 'lower'
- 最新版本按键功能异常 HOT 8
- mledit显示文本问题,属性 字体设置为非默认字体时, 失去焦点字才能显示?
- 发生较难排查的偶现奔溃时,awtk有提供什么好的排查方式吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awtk.