Giter VIP home page Giter VIP logo

Comments (4)

matrix700 avatar matrix700 commented on June 4, 2024 1

还会更新吗

from tangramkit.

youngsoft avatar youngsoft commented on June 4, 2024

您好,
针对问题1: 目前TangramKit版本的线性布局中的子视图还暂时不支持高度等于另外一个子视图的高度,否则就变为相对布局了,当然这个功能不排除未来会增加。

针对问题2: 目前是不支持除布局视图、UILabel、 UIButton以外的视图的具备wrap能力。当然要解决你的问题,你可以重写ChangeLedgerItemView的sizeThatFits的方法,然后具体返回就是parent_vert_box的sizeThatFits方法的返回值,因为您是希望ChangeLedgerItemView的高度就是parent_vert_box的高度。另外的方法是你可以直接让ChangeLedgerItemView继承自TGLinearLayout,这样中间就不需要再添加一个parent_vert_box这样的子视图了。

from tangramkit.

github410117 avatar github410117 commented on June 4, 2024

首先很感谢您的回复,解决了我的疑惑
请问swift版本有更新计划吗?因为我看最近更新已经是2年前啰。

from tangramkit.

cisolarix avatar cisolarix commented on June 4, 2024

又过了一年多了。

from tangramkit.

Related Issues (20)

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.