mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 11:15:20 +01:00
[PR #829] [MERGED] feat: justify property for clock and custom label #2381
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#2381
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/829
Author: @BowDown097
Created: 1/1/2025
Status: ✅ Merged
Merged: 1/2/2025
Merged by: @JakeStanger
Base:
master← Head:master📝 Commits (4)
708118dfeat: justify property for clock and custom label9cb1dfcrefactor: enum/struct formatting27c14d2Merge branch 'JakeStanger:master' into master59b5ddcrefactor(clock): move justify above common📊 Changes
6 files changed (+52 additions, -9 deletions)
View changed files
📝
docs/modules/Clock.md(+1 -0)📝
docs/modules/Custom.md(+6 -5)📝
src/config/common.rs(+23 -1)📝
src/config/mod.rs(+1 -1)📝
src/modules/clock.rs(+11 -1)📝
src/modules/custom/label.rs(+10 -1)📄 Description
Provides a way for the user to align text in these modules. Particularly useful with multi-line text. Equivalent to this would be CSS's
text-alignproperty (which, for God knows what reason, GTK CSS does not provide).These seemed to be the best fitting modules to add this property to, but I'm open to adding it to more if there are any others that seem deserving of it to someone else.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.