Tiny layout edits

This commit is contained in:
Ryan Pandya 2023-07-08 18:03:50 -07:00
parent b110ea0cb9
commit a7830aec27

View File

@ -127,7 +127,7 @@ class _DayViewState extends State<DayView> {
child: Text( child: Text(
textAlign: TextAlign.center, textAlign: TextAlign.center,
style: TextStyle( style: TextStyle(
fontSize: 20, fontSize: 18,
), ),
formatDate( formatDate(
format: 'EEEEE, LLLL dd, yyyy', format: 'EEEEE, LLLL dd, yyyy',
@ -228,7 +228,9 @@ class _DayViewState extends State<DayView> {
comments: value); comments: value);
}, },
) )
: Text(comments.isEmpty ? "No comments yet." : comments), : Text(
style: TextStyle(fontSize: 16),
comments.isEmpty ? "No comments yet." : comments),
), ),
SizedBox(width: 30), SizedBox(width: 30),
_editable _editable
@ -536,6 +538,7 @@ class _HourFormFieldState extends State<HourFormField> {
child: Consumer<DatabaseAPI>(builder: (context, database, child) { child: Consumer<DatabaseAPI>(builder: (context, database, child) {
return TextFormField( return TextFormField(
showCursor: false, showCursor: false,
autofillHints: [],
key: Key( key: Key(
"hourField-${widget.dayEntry.$id}-${widget.index.toString()}"), "hourField-${widget.dayEntry.$id}-${widget.index.toString()}"),
onTap: () {}, onTap: () {},
@ -556,8 +559,12 @@ class _HourFormFieldState extends State<HourFormField> {
}), }),
), ),
SizedBox(width: 40), SizedBox(width: 40),
Text( Expanded(
style: TextStyle(color: fgColor, fontFamily: "Monospace"), catName), child: Text(
overflow: TextOverflow.ellipsis,
style: TextStyle(color: fgColor, fontFamily: "Monospace"),
catName),
),
], ],
); );
} }