Use themeable branch of libcosmic, adjust date/time spacing

This commit is contained in:
Jeremy Soller 2023-10-12 09:18:04 -06:00
parent 0f933aad9f
commit 1c52e63715
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 96 additions and 44 deletions

View file

@ -3,7 +3,6 @@
use cosmic::app::{message, Command, Core, Settings};
use cosmic::{
cosmic_config::CosmicConfigEntry,
executor,
iced::{
self, alignment,
@ -21,6 +20,7 @@ use cosmic::{
iced_runtime::core::window::Id as SurfaceId,
style, widget, Element,
};
use cosmic_config::CosmicConfigEntry;
use std::{
collections::HashMap,
ffi::{CStr, CString},
@ -446,7 +446,7 @@ impl cosmic::Application for App {
fn view_window(&self, surface_id: SurfaceId) -> Element<Self::Message> {
let left_element = {
let date_time_column = {
let mut column = widget::column::with_capacity(2).padding(16.0).spacing(12.0);
let mut column = widget::column::with_capacity(2).padding(16.0);
let dt = chrono::Local::now();