New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: page custom widgets #602
Conversation
@@ -12,52 +12,232 @@ description: >- | |||
|
|||
O Beagle já possui alguns widgets básicos que podem ser usados para alterar a sua aplicação UI através do backend. No entanto, você pode adicionar novos componentes para fazer as views da sua aplicação fiquem "visíveis" ao Beagle e que possam também ser usadas no backend. | |||
|
|||
## Como criar componentes \(custom views\) e widgets? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Na mesma sessão do android da criação de custom widgets, ainda existe esse titulo com a pergunta
content/pt/resources/customization/beagle-for-ios/custom-widgets.md
Outdated
Show resolved
Hide resolved
boxComponent.translatesAutoresizingMaskIntoConstraints = false | ||
let beagleWrapper = AutoLayoutWrapper(view: boxComponent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sao duas propriedades requeridas entao para funcionar o auto layout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depende da maneira que o usuário implementa, usando o AutoLayoutWrapper é dessa maneira, usando o sizeThatFits ele coloca o método no componente customizado dele.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mas se ele for usar o AutoLayoutWrapper não seria mais facil ja adicionar essa linha para ele entao?
translatesAutoresizingMaskIntoConstraints = false
* hotfix: Revert 524 fix/beagle helpers page (#612) * fix: page custom widgets (#602) * fix page custom widgets * update page custom widgets * Revert "feat: gRPC lib and tutorials (#524)" This reverts commit 448a117. Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> * fix pluggin image beagle class creator (#618) Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> Co-authored-by: carlossteinzup <60155378+carlossteinzup@users.noreply.github.com>
* hotfix: Revert 524 fix/beagle helpers page (#612) * fix: page custom widgets (#602) * fix page custom widgets * update page custom widgets * Revert "feat: gRPC lib and tutorials (#524)" This reverts commit 448a117. Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> * fix pluggin image beagle class creator (#618) * Feature/react native docs v1.8 (#632) * documentation for Beagle React Native * Update content/en/resources/customization/beagle-for-react-native/localhost.md Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> * Update content/pt/resources/customization/beagle-for-react-native/localhost.md Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> Co-authored-by: Tiago Peres França <tiago.franca@zup.com.br> Co-authored-by: Tiago Peres França <tiagoperesfr@gmail.com> Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> * fix typo (#634) * Fixes some typos and translation error for the portuguese version of the Beagle RN documentation * fix previous merge Co-authored-by: Gabriel Maximo <luis.maximo@zup.com.br> Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> Co-authored-by: carlossteinzup <60155378+carlossteinzup@users.noreply.github.com> Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com>
* fix page custom widgets * update page custom widgets
* hotfix: Revert 524 fix/beagle helpers page (ZupIT#612) * fix: page custom widgets (ZupIT#602) * fix page custom widgets * update page custom widgets * Revert "feat: gRPC lib and tutorials (ZupIT#524)" This reverts commit 448a117. Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> * fix pluggin image beagle class creator (ZupIT#618) Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> Co-authored-by: carlossteinzup <60155378+carlossteinzup@users.noreply.github.com>
* hotfix: Revert 524 fix/beagle helpers page (ZupIT#612) * fix: page custom widgets (ZupIT#602) * fix page custom widgets * update page custom widgets * Revert "feat: gRPC lib and tutorials (ZupIT#524)" This reverts commit 448a117. Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> * fix pluggin image beagle class creator (ZupIT#618) * Feature/react native docs v1.8 (ZupIT#632) * documentation for Beagle React Native * Update content/en/resources/customization/beagle-for-react-native/localhost.md Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> * Update content/pt/resources/customization/beagle-for-react-native/localhost.md Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> Co-authored-by: Tiago Peres França <tiago.franca@zup.com.br> Co-authored-by: Tiago Peres França <tiagoperesfr@gmail.com> Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com> * fix typo (ZupIT#634) * Fixes some typos and translation error for the portuguese version of the Beagle RN documentation * fix previous merge Co-authored-by: Gabriel Maximo <luis.maximo@zup.com.br> Co-authored-by: Luis Gustavo <59032921+luisgustavozup@users.noreply.github.com> Co-authored-by: carlossteinzup <60155378+carlossteinzup@users.noreply.github.com> Co-authored-by: Matheus Ribeiro Lima <57918064+matheusribeirozup@users.noreply.github.com>
fix: page custom widgets