首页 > 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
本文地址:https://hgy413.com/3541.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

19 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. #17 Nilda 回复 | 引用 Post:2020-05-14 15:04

    I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire
    someone to do it for you? Plz respond as I’m looking to design my own blog and would like
    to find out where u got this from. cheers

  18. #18 Genesis 回复 | 引用 Post:2020-05-22 10:15

    Do you have a spam problem on this website; I also am a blogger, and
    I was wanting to know your situation; we have developed some nice practices and we
    are looking to exchange techniques with other folks, please shoot me an email if interested.

  19. #19 Mollie 回复 | 引用 Post:2020-05-28 10:19

    You could certainly see your enthusiasm in the work you write.
    The arena hopes for more passionate writers such as you who aren’t afraid to mention how they believe.
    All the time follow your heart.

发表评论