1. 28 May, 2022 1 commit
  2. 19 May, 2022 2 commits
  3. 15 May, 2022 1 commit
  4. 09 May, 2022 1 commit
    • Fushan Wen's avatar
      kstyle: Properly align text in ToolButton with icon · e6deaa17
      Fushan Wen authored
      Sometimes button labels in a ToolButton without icon and a ToolButton
      with icon are not vertically aligned even if all buttons have the same
      height. This is caused by double-to-int.
      The original top padding `(contentsRect.height() - textSize.height()) / 2`
      can be rounded down, and when the padding is rounded down, so
      `contentsRect.height() - padding - textSize.height() ≠ padding`.
      After this change, textRect is calculated based on the remaining space.
      For example, `contentsRect.height() = 32`, and `textSize.height() = 15`,
      so the padding is 8. Before this commit, the bottom padding will be
      `32 - 8 - 15 = 9 ≠ 8`. After this change, the bottom padding is the
      same as the top padding (8), so the visual glitch is fixed.
  5. 04 May, 2022 1 commit
  6. 30 Apr, 2022 3 commits
  7. 26 Apr, 2022 3 commits
  8. 25 Apr, 2022 1 commit
  9. 19 Apr, 2022 1 commit
    • Jan Blackquill's avatar
      kstyle: smaller tree/tableview headers · 1319a747
      Jan Blackquill authored and Jan Blackquill's avatar Jan Blackquill committed
      Since data view headers are not the content the user is trying
      to peruse, having them be the same size as an actual cell of data
      (or larger) doesn't really make sense.
      Instead, they can be made smaller, which gives more room to the
      content the user is looking for, and helps make the distinction
      between header/data more visible.
  10. 18 Apr, 2022 1 commit
  11. 14 Apr, 2022 1 commit
  12. 12 Apr, 2022 1 commit
  13. 11 Apr, 2022 1 commit
  14. 05 Apr, 2022 2 commits
  15. 01 Apr, 2022 1 commit
  16. 30 Mar, 2022 3 commits
    • Heiko Becker's avatar
      Remove superfluous cmake include · b0fe15a7
      Heiko Becker authored
      CMakeFindDependencyMacro is already included and with
      cmake_minimum_required(VERSION 3.16) there's really no need for
      ECMPackageConfigHelpers anymore.
    • Arjen Hiemstra's avatar
      Use KWin's tablet mode to increase decoration button size using touch · 13e74d87
      Arjen Hiemstra authored and Nate Graham's avatar Nate Graham committed
      On touch devices, the default decoration button size is rather hard
      to use. We have a thing to detect this however, KWin's Tablet Mode.
      Using that, we can change button sizes based on this. Rather than
      changing which size to use, change the base unit so we don't mess
      around with config values.
    • Marco Martin's avatar
      Adapt UI elements' sizes when in Tablet Mode · 3fe906b0
      Marco Martin authored and Nate Graham's avatar Nate Graham committed
      Now interactive UI elements get bigger when in Tablet mode, and return
      to normal size when out of it. This is automatic, and currently there
      is no UI to manually control it.
      Sending a stylechanged event makes everything to be reevaluated but
      the style instance doesn't get actually reloaded, so this is still
      manageable, resource-wise.
      CCBUG: 418904
  17. 29 Mar, 2022 1 commit
  18. 28 Mar, 2022 1 commit
  19. 24 Mar, 2022 1 commit
  20. 23 Mar, 2022 2 commits
  21. 20 Mar, 2022 1 commit
  22. 19 Mar, 2022 1 commit
  23. 14 Mar, 2022 3 commits
    • Jan Blackquill's avatar
      kstyle: don't show states for frames with bordersSides · af1ddf45
      Jan Blackquill authored and Nate Graham's avatar Nate Graham committed
      Showing focus/hover/etc. often looks strange/inconsistent without frames
      on all sides, so if we're drawing on frames other than all sides, don't
      show those states. It's also more consistent with the style we're trying
      to emulate, which doesn't show focus/hover on separator lines between
    • Richard Shiue's avatar
      kdecoration: fix visual glitch in titlebar caption when it is updated near the edge · 03b29c9f
      Richard Shiue authored and Jan Blackquill's avatar Jan Blackquill committed
      The geometry of the the title bar is not being correctly updated. The bug affects all C++-based window decorations (breeze, oxygen, even lightly) and can be observed when there isn't any title bar buttons to the left of the caption and the caption is changed (e.g. changing directories in dolphin), regardless of the alignment as long as the caption becomes close to the left edge. This makes sure that updateTitlebar sets the title bar's geometry in Decoration coordinates.
      BUG: 418517
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 0388bc5a
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
  24. 11 Mar, 2022 1 commit
  25. 08 Mar, 2022 1 commit
  26. 06 Mar, 2022 1 commit
  27. 04 Mar, 2022 1 commit
  28. 28 Feb, 2022 1 commit
  29. 23 Feb, 2022 1 commit
    • Jan Blackquill's avatar
      kstyle: fix low contrast tabs on dark · 9d361c9e
      Jan Blackquill authored
      This fixes the contrast of tabs on dark themes by using
      a darkening factor on the Window colour, adjusted for
      whether it's light or dark, instead of using the Shadow
      colour for both light and dark themes.
      BUG: 438627
      FIXED-IN: 5.25