首页 > REDM设计器教程 > REDM设计器教程7-增加Img,添加,删除prop属性
2016十月23

REDM设计器教程7-增加Img,添加,删除prop属性

[隐藏]

在前面的教程中,我们已经改变了主窗口的颜色,大小,并增加了一个gif控件

生成资源MyRes下载+qqbg.gif—>

MyRes.zip

qqbg.zip

我们再来增加一个button控件,用于右上角显示关闭按钮:它的大小为30*27(与状态图保持一致)

6.gif

—>坐标(-30,0,@30,@27)意为以父窗口(gif控件)的右边框为基准,左移30,以上边框为基准,下移0,宽30,高27

    

     

1.增加Img

REDM基础教程4-内置皮肤介绍 中我们知道,要创建一个皮肤,首先得增加一张图片到主题包中,gif不需要使用皮肤,但需要使用图片资源,

7.gif

我们把gif图片放在一个叫gif的img类型下,当然,我们也可以放在png的img类型下,只是可能感觉有点名称不匹配

4.png

  

   

2.添加,删除Prop属性

我们把gif控件的初始非客户区边框删除掉(ncmargin)去掉文字(text),然后加上刚刚加入的gif:qqbg(前缀gif表示img类型,就刚新建的,qqbg对应上图的name)图片,并调整gif的绘制为拉伸方式(badjust)

8.gif

注意,删除prop属性,是选中它,并按下delete键 

上面动画出现了一个警告弹框,是因为DM在debug版本下检测到gifskin的设置为空给出的提示,可以直接忽略

选中prop属性,下面会有相应的提示说明

8.png

在设置了gifskin时,clrbg会自动失效的,DM都是遵守先图片后颜色这样的绘制规则

   

   


   下一节教程: REDM设计器教程8-增加皮肤

   


文章作者:hgy413
本文地址:http://hgy413.com/3541.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

37 Responses to “REDM设计器教程7-增加Img,添加,删除prop属性”

  1. #1 minecraft 回复 | 引用 Post:2018-10-04 10:22

    great put up, very informative. I’m wondering why
    the other experts of this sector don’t notice this. You must continue your writing.
    I’m sure, you have a huge readers’ base already!

  2. #2 minecraft 回复 | 引用 Post:2018-10-05 10:59

    Every weekend i used to pay a quick visit this site, because i want enjoyment, as this this site conations genuinely pleasant funny stuff too.

  3. Hi there to all, how is the whole thing, I think
    every one is getting more from this site, and your views are fastidious
    in support of new people.

  4. of course like your web-site but you have to take a look at the
    spelling on quite a few of your posts. Several of them are rife with spelling
    issues and I find it very bothersome to inform the reality nevertheless I
    will certainly come back again.

  5. #5 tinder dating site 回复 | 引用 Post:2018-10-17 17:02

    What i do not understood is in fact how you’re now not really a
    lot more smartly-liked than you may be now. You are very intelligent.
    You recognize therefore considerably in relation to this matter, made me in my opinion believe it from
    a lot of varied angles. Its like men and women aren’t fascinated except it’s
    something to do with Woman gaga! Your individual stuffs great.
    Always deal with it up!

  6. #6 Coconut Oil Benefits 回复 | 引用 Post:2018-10-19 10:47

    I am regular visitor, how are you everybody? This paragraph posted
    at this website is really fastidious.

  7. #7 Coconut Oil Benefits 回复 | 引用 Post:2018-10-28 22:35

    I’m not that much of a internet reader to be honest
    but your blogs really nice, keep it up! I’ll go ahead and
    bookmark your website to come back in the future. Many thanks

  8. #8 quest bars cheap 回复 | 引用 Post:2018-11-04 07:04

    whoah this blog is magnificent i love reading your articles.

    Stay up the good work! You understand, a lot of persons are hunting round for
    this information, you can help them greatly.

  9. #9 Sling TV 回复 | 引用 Post:2018-11-11 08:11

    Thanks for sharing your thoughts about Sling TV.
    Regards

  10. #10 Sling TV 回复 | 引用 Post:2018-11-14 00:03

    Pretty section of content. I just stumbled upon your
    website and in accession capital to assert that I acquire in fact enjoyed
    account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly.

  11. #11 Sling TV 回复 | 引用 Post:2018-11-14 21:31

    Very nice post. I just stumbled upon your weblog and wished to
    say that I’ve truly enjoyed browsing your blog posts.
    In any case I will be subscribing for your rss feed and I’m hoping
    you write again very soon!

  12. Wow, this article is good, my sister is analyzing these kinds of things, thus I am going
    to inform her.

  13. Sling tv coupons and promo codes for november 2018
    Thanks for the marvelous posting! I certainly enjoyed reading it,
    you happen to be a great author.I will be sure
    to bookmark your blog and may come back from now on. I want to encourage one to continue your great writing, have a nice morning!
    Sling tv coupons and promo codes for november 2018

  14. Hey there, You have done a great job. I’ll definitely digg it and personally suggest to my
    friends. I am sure they’ll be benefited from this web site.

  15. #15 tinyurl.com 回复 | 引用 Post:2018-11-19 12:16

    Hi, i think that i saw you visited my website thus i came to go
    back the want?.I am attempting to to find things to enhance my website!I assume its
    adequate to make use of some of your concepts!!

  16. #16 descargar facebook 回复 | 引用 Post:2018-12-06 13:42

    Outstanding story there. What occurred after? Thanks!

  17. Wonderful site. Plenty of useful info here. I am sending it
    to a few pals ans additionally sharing in delicious.
    And of course, thanks in your sweat!

  18. #18 minecraft games 回复 | 引用 Post:2019-08-18 15:09

    I used to be suggested this website by way of my cousin. I’m not certain whether or
    not this publish is written by him as no one else realize such distinct about my problem.
    You’re amazing! Thanks!

  19. #19 descargar facebook 回复 | 引用 Post:2019-08-18 18:02

    Hey there, I think your website might be having browser compatibility issues.
    When I look at your blog site in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping.

    I just wanted to give you a quick heads up!
    Other then that, excellent blog!

  20. #20 quest bars cheap 回复 | 引用 Post:2019-08-24 07:28

    What’s Going down i’m new to this, I stumbled upon this I have
    discovered It absolutely useful and it has aided me out loads.
    I hope to give a contribution & help other customers like its helped me.
    Great job.

  21. #21 quest bars cheap 回复 | 引用 Post:2019-08-24 09:16

    I all the time emailed this blog post page to all
    my associates, for the reason that if like to read it then my contacts
    will too.

  22. #22 minecraft games 回复 | 引用 Post:2019-09-03 18:51

    Article writing is also a excitement, if you be familiar with
    afterward you can write otherwise it is complicated to write.

  23. #23 ETIAS Visa 回复 | 引用 Post:2019-09-06 02:33

    You actually make it seem really easy along with
    your presentation but I to find this matter to be actually something that
    I believe I would by no means understand. It kind of feels too complicated and extremely broad
    for me. I’m looking ahead for your next put up, I will attempt to get the hang of
    it!

  24. #24 quest bars cheap 回复 | 引用 Post:2019-09-07 07:19

    Hi! I’m at work surfing around your blog from my new iphone!

    Just wanted to say I love reading through your blog and look forward to all
    your posts! Keep up the superb work!

  25. #25 Gregorio 回复 | 引用 Post:2019-09-13 19:20

    Hey I know thіs iss off topіc but I wɑs wondеring if yοu knew of any widgets I could adԀ to my blog that automatically tweet
    myy newest twitter updates. I’ve been looking for a plug-inlike this for quite some time аnd was hoping maybe you would have some experience wіth something like
    this. Plsase llet me know if you rᥙn into anything. I truly enjoy rеading
    your blog and I ⅼook forward to your neԝ uⲣdateѕ.

  26. Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.

  27. #27 ESTA 回复 | 引用 Post:2019-09-18 18:26

    Hey! I could have sworn I’ve been to this blog before but after checking
    through some of the post I realized it’s new to me.
    Nonetheless, I’m definitely happy I found it and I’ll be book-marking and checking back often!

  28. #28 milf 回复 | 引用 Post:2019-09-21 00:52

    Write more, thats all I have to say. Literally, it seems as though you relied
    on the video to make your point. You obviously know what youre
    talking about, why waste your intelligence on just posting videos
    to your blog when you could be giving us something informative to read?

  29. #29 slut 回复 | 引用 Post:2019-09-21 02:16

    Hi! I’m at work browsing your blog from my new apple
    iphone! Just wanted to say I love reading through your
    blog and look forward to all your posts! Keep up the outstanding work!

  30. #30 minecraft games 回复 | 引用 Post:2019-09-25 01:35

    I quite like reading an article that can make men and women think.
    Also, many thanks for permitting me to comment!

  31. #31 viagra 回复 | 引用 Post:2019-09-25 21:41

    Why viewers still make use of to read news papers when in this technological world the whole thing is
    existing on net?

  32. #32 viagra 回复 | 引用 Post:2019-09-26 12:10

    It’s amazing in favor of me to have a web page, which
    is useful in support of my knowledge. thanks admin

  33. #33 pest control for rats 回复 | 引用 Post:2019-09-28 22:48

    We’re a bunch of volunteers and starting a new scheme in our community.

    Your website provided us with helpful information to work on. You
    have done an impressive activity and our whole neighborhood can be grateful
    to you.

  34. #34 esta 回复 | 引用 Post:2019-10-01 05:15

    When someone writes an post he/she keeps the image of
    a user in his/her mind that how a user can know it. Thus that’s why this piece of writing is outstdanding.
    Thanks!

  35. #35 Florida Travel 回复 | 引用 Post:2019-10-10 19:16

    I blog often and I genuinely appreciate your
    content. This great article has really peaked my interest.
    I’m going to bookmark your blog and keep checking for new information about once a week.
    I opted in for your Feed as well.

  36. #36 Bed and Breakfast 回复 | 引用 Post:2019-10-10 19:36

    Great information. Lucky me I discovered your blog by accident (stumbleupon).
    I’ve bookmarked it for later!

  37. #37 quest bars cheap 回复 | 引用 Post:2019-10-11 02:09

    I needed to thank you for this excellent read!! I certainly loved every bit of it.

    I have you bookmarked to check out new things you post…

发表评论