[PR #449] [MERGED] Add direction option for tray module #2135

Closed
opened 2026-05-22 22:55:57 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/449
Author: @calops
Created: 2/13/2024
Status: Merged
Merged: 2/17/2024
Merged by: @JakeStanger

Base: masterHead: vertical-tray


📝 Commits (1)

  • b037a55 feat(tray): add direction option

📊 Changes

2 files changed (+43 additions, -5 deletions)

View changed files

📝 docs/modules/Tray.md (+13 -4)
📝 src/modules/tray/mod.rs (+30 -1)

📄 Description

Add the direction option for the tray module, giving the ability for vertical trays.
image

Note: This also sets the direction top_to_bottom by default for vertical bars. This is technically a breaking change, but I imagine nobody actually wants a horizontal tray on a vertical bar.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/449 **Author:** [@calops](https://github.com/calops) **Created:** 2/13/2024 **Status:** ✅ Merged **Merged:** 2/17/2024 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `vertical-tray` --- ### 📝 Commits (1) - [`b037a55`](https://github.com/JakeStanger/ironbar/commit/b037a55fb78d05cce0e03bad27a10cbdf743c573) feat(tray): add `direction` option ### 📊 Changes **2 files changed** (+43 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/Tray.md` (+13 -4) 📝 `src/modules/tray/mod.rs` (+30 -1) </details> ### 📄 Description Add the `direction` option for the tray module, giving the ability for vertical trays. ![image](https://github.com/JakeStanger/ironbar/assets/4097716/6bca5fee-9cb5-437d-98c3-697beb3d4b7b) **Note:** This also sets the direction `top_to_bottom` *by default* for vertical bars. This is technically a **breaking change**, but I imagine nobody actually wants a horizontal tray on a vertical bar. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 22:55:57 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#2135
No description provided.