Giter Site home page Giter Site logo

autocompresslayout's Introduction

AutoCompressLayout

中文:

单行自动缩小布局,使用情况。 在某些情况下单行需要显示很多内容但是又不能做舍弃,不得已需要做缩小适配的时候。它就有勇武之地了。

用法很简单: 将需要自动缩小的布局套到当前布局下即可。 局限性: 之针对单行做了缩放,如果你需要在垂直区域要做缩放,可以参考横向缩放的逻辑简单修改即可。 思路简单粗暴,欢迎指正。

English:

Automatically reduce the layout and usage of a single line. In some cases, when a single line needs to display a lot of content but cannot be discarded, it is necessary to make a reduction adaptation. It has a place of bravery. The usage is simple: Simply place the layout that needs to be automatically reduced under the current layout. Limitations: It has been scaled for a single row. If you need to scale in the vertical area, you can refer to the logic of horizontal scaling and simply modify it. Simple and rough thinking, welcome to correct.

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.