Tag:fillet

  • Implementation of shadow fillet window in cqgui framework

    Time:2022-3-31

    Implementation of shadow fillet window in cqgui framework Hello, I’m an it literary man, a front-line programmer from a large front-line factory Today, I will explain the implementation of shadow fillet window of cqgui framework based on C + + / Qt. The implementation effect is shown in the following figure: Cqgui development environment: Microsoft […]

  • Learning and using CSS gradient

    Time:2022-3-24

    1. Linear gradient implementation: stripe background <style type=”text/css”> .horizontal-stripes{ width: 200px; height: 200px; margin-bottom: 20px; color: #fff; /*Principle: #f60 accounting for 50%, from 0% ~ 50% are pure #f60; The gradient starts at 50% of #f60 (start color) and ends at 50% of #333 (end color), so it is equivalent to no transition; There is […]

  • Scroll view hidden scroll bar custom scroll bar in uniapp and wechat applet

    Time:2022-3-18

     Hide scroll bar 1. Hide the scroll bar globally in app In Vue ::-webkit-scrollbar{ display: none; } 2. Partially hidden scroll bar The style is invalid if it does not use the scoped attribute. .uni-scroll-view::-webkit-scrollbar {   display: none } When using the scoped attribute, / deep / penetration is used. /deep/.uni-scroll-view::-webkit-scrollbar {   display: none } […]

  • Google releases, plays shapeableimageview and bid farewell to third-party libraries

    Time:2022-3-14

    preface Anyone who has done Android development knows that Android UI development takes time and effort to achieve irregular picture effects, such as the old round corner and round picture. Either introduce third-party controls or customize ImageView. The third-party controls may not be satisfied, but the customized ImageView has certain requirements for developers and takes […]

  • Compose new text input box? Here you go

    Time:2022-2-24

    /Foreword/ Jetpack compose is a modern toolkit for building native Android UI. It uses simpler code, powerful tools and intuitive kotlin API to simplify and accelerate UI development on Android. Different from the common UI development paradigm of XML + imperative coding in andorid, compose implements a set of declarative UI framework similar to react […]

  • Customize browser scroll bar styles

    Time:2022-2-21

    When making a theme skin change, you need to adapt the color matching of page elements according to the theme selected by the user. This involves editing the browser’s default scroll bar style. After consulting the documents, it is found that WebKit currently supports areas with overflow attribute, list box, drop-down menu and scroll bar […]

  • Question 11: what is the difference between CSS and CSS3?

    Time:2022-2-17

    concept CSS3 adds some features on the basis of CSS CSS3 new features CSS3 fillet div { border-radius:25px; } CSS3 box shadow div { box-shadow: 10px 10px 5px #888; } CSS3 border picture div { border-image:url(border.png) 30 30 round; } CSS3 background div { background: url(img_flwr.gif); } CSS3 gradient div { background-image: linear-gradient(#e66465, #9198e5); background-image: […]

  • [flutter 2-3] flutter handle tutorial UI layout and widget – container control

    Time:2022-2-16

    By VladSource Vlad (official account: fulade_me) Container Let’s take a look at the parameters of container initialization: Container({ Key key, //Position left, right and center this.alignment, //Inner margin of edgeinsets container this.padding, //Background color this.color, //Background decorator this.decoration, //Foreground decorator this.foregroundDecoration, //Width double width, //Tell double height, //Restraint BoxConstraints constraints, //Outer margin of edgeinsets container […]

  • QT fillet button, automatic layout of surface

    Time:2022-2-13

    1、 Foreword In some interface development, it is sometimes necessary to dynamically add a control or button to the panel, and delete the control when it is not needed. Therefore, it imitates the setting shielding words in video development and is realized through the self drawn buttons and layout panel controls. The results are as […]

  • IOS off screen rendering analysis / optimization

    Time:2022-2-10

    Questions before starting:1. What is off screen rendering?2. In which step does off screen rendering take place?3. What is the impact of off screen rendering?4. Will setting rounded corners trigger off screen rendering?5. How to optimize off screen rendering? An in-depth understanding of the above questions is enough to answer the interviewer’s questions. Image rendering […]

  • IOS off screen rendering

    Time:2022-1-31

    Preface: debug – > color off screen rendered eg: – (void)viewDidLoad { [super viewDidLoad]; //1. Button background picture (off screen rendering appears) UIButton *btn1 = [UIButton new]; btn1.frame = CGRectMake(100, 30, 100, 100); btn1.layer.cornerRadius = 50; [self.view addSubview:btn1]; [btn1 setImage:[UIImage imageNamed:@”sun.png”] forState:UIControlStateNormal]; btn1.clipsToBounds = YES; //2. Button background color UIButton *btn2 = [UIButton new]; btn2.frame […]

  • IPhone 12 solid color matching tool

    Time:2022-1-29

    IPhone 12 solid color matching tool css3d 、 CSS variable As a small screen party, the new year’s resolution started with the iPhone 12mini, so I searched for relevant information, and finally decided to wait for next year’s 13 / 12s.When browsing the e-commerce platform, I also thought about the color matching of mobile phones […]