mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #244] [Clock/Calendar] Always show current date #7131
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#7131
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?
Originally created by @donovanglover on GitHub (Jul 18, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/244
Is your feature request related to a problem? Please describe.
It would be nice if there was a way to always highlight the current date. Currently if you click another date the current date doesn't have any sort of indicator.
Describe the solution you'd like
Ability to style dates with CSS. Might already be possible? https://docs.gtk.org/gtk4/class.Calendar.html#css-nodes
Describe alternatives you've considered
Could make clicking on the header select the current year/month/day. Would be useful when looking at dates from a few months before.
Could also select the current date again when the calendar popup is opened/closed instead of persisting state.
@A-Cloud-Ninja commented on GitHub (Jul 24, 2023):
This and other similar issues (#245 comes to mind) are probably better suited for after #112 is resolved unfortunately. It doesn't seem that Gtk3 exposes CSS nodes for calendar dates like Gtk4 does, which is what your link is referencing. Doing this in a custom manner would probably be a lot of work for more than just styling "today", which Gtk4 exposes out of the box on the widget, without code doing anything special with it.