Coder Social home page Coder Social logo

Comments (3)

hhyeok1026 avatar hhyeok1026 commented on June 15, 2024 2

수정자 구글 문서 보게 되었는데, 참고하시면 될 것 같아서 링크 올립니다.
시간 날 때. 저 페이지 다 읽으면 좋을듯하네요.

// 수정자는 순서가 중요
https://developer.android.com/jetpack/compose/modifiers#order-modifier-matters

// 1,2 문단을 보면, 먼저 체인된 수정자가 먼저 적용.
https://developer.android.com/jetpack/compose/modifiers#reusing-modifiers

from composecamp2022-for-beginners.

ukhyun2402 avatar ukhyun2402 commented on June 15, 2024

그렇다면 css padding과는 좀 다르게 동작하는게 맞나보네요

css 에서는 margin border padding의 경계가 명확한 반면에

compose에서는 그 의미가 조금은 다른 거 같습니다.

추가하면 저는 아무리봐도 밑에서부터 위로 이해하는게 좀 더 올바른 것 같다는 느낌은 지울수가없네요 ㅠㅠㅋㅋㅋㅋ

from composecamp2022-for-beginners.

dogdduddy avatar dogdduddy commented on June 15, 2024

확실히 여태의 padding과 border는 한 개체에 한 번씩만 적용했다 보니 괴리감이 느껴지는 것 같습니다.

from composecamp2022-for-beginners.

Related Issues (15)

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.