Skip to content
Snippets Groups Projects
  1. Mar 19, 2025
    • Fatih Uzunoğlu's avatar
      qml: do not use paddings in stack view · 82128583
      Fatih Uzunoğlu authored
      Qt Quick Stack View, even though is a `Control`
      derivative, does not respect its paddings. This
      does not mean that we are free to re-interpret
      the paddings as done currently. Qt may at any
      point start respecting the padding, which would
      in turn break the interface.
      
      The padding is not supposed to be passed around
      like that. It is for the control to position the
      content item (apply margins). Unfortunately we
      can not do that in `StackView` because it assumes
      that it is the sole authority for positioning the
      content.
      
      The easy fix for that is to simply use anchors
      where `StackView` is reused. This is what I tried
      to do in this merge request.
      
      Unfortunately I could not override the padding
      properties as read-only to block adjusting them,
      as they are marked `FINAL`.
      82128583
  2. Mar 17, 2025
  3. Mar 16, 2025
  4. Mar 15, 2025
  5. Mar 14, 2025
  6. Mar 13, 2025
Loading