Skip to content

Commit

Permalink
Fixed an issue with month name in long format not showing in one line…
Browse files Browse the repository at this point in the history
… on small resolution
  • Loading branch information
kfiross committed Mar 11, 2020
1 parent e873d71 commit 0d39056
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [0.1.2+6]
* Fixed an issue with month name in long format not showing in one line on small resolution

## [0.1.2+5]
* Added Indonesian Language support

Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ class _WidgetPageState extends State<WidgetPage> {
child: Scaffold(
body: Center(
child: Container(
padding: const EdgeInsets.symmetric(horizontal: 28),
padding: const EdgeInsets.symmetric(horizontal: 25),
child: DatePickerWidget(
firstDate: DateTime(1960),
lastDate: DateTime(2002, 1, 1),
initialDate: DateTime(1994),
dateFormat: "dd-MMMM-yyyy",
onChange: (DateTime newDate, _) => _selectedDate = newDate,
pickerTheme: DateTimePickerTheme(
itemTextStyle: TextStyle(color: Colors.black, fontSize: 20)),
itemTextStyle: TextStyle(color: Colors.black, fontSize: 19)),
),
),
),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.2+5"
version: "0.1.2+6"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/date_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class DatePicker {
titleText ?? "Select Date",
style: TextStyle(color: textColor),
),
contentPadding: EdgeInsets.symmetric(vertical: 0, horizontal: 24),
contentPadding: EdgeInsets.symmetric(vertical: 0, horizontal: 14),
backgroundColor: backgroundColor,
content: Container(
width: 300,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_holo_date_picker
description: A Flutter package of Datepicker that looks like Holo Theme in Android.
version: 0.1.2+5
version: 0.1.2+6
homepage: https://github.com/kfiross/flutter_holo_date_picker

environment:
Expand Down

0 comments on commit 0d39056

Please sign in to comment.