File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 2.0.8]
2
+ ### 🛠️ Updated 🛠️
3
+ * Fixed ` SidebarItem ` text overflowing.
4
+
1
5
## [ 2.0.7]
2
6
### 🛠️ Updated 🛠️
3
7
* Made most widgets aware of the user’s accent color and window state by adding respective fields to ` MacosThemeData ` .
Original file line number Diff line number Diff line change @@ -318,11 +318,14 @@ class _SidebarItem extends StatelessWidget {
318
318
child: item.leading! ,
319
319
),
320
320
),
321
- DefaultTextStyle (
322
- style: labelStyle.copyWith (
323
- color: selected ? textLuminance (selectedColor) : null ,
321
+ Expanded (
322
+ child: DefaultTextStyle (
323
+ style: labelStyle.copyWith (
324
+ color: selected ? textLuminance (selectedColor) : null ,
325
+ overflow: TextOverflow .ellipsis,
326
+ ),
327
+ child: item.label,
324
328
),
325
- child: item.label,
326
329
),
327
330
if (hasTrailing) ...[
328
331
const Spacer (),
Original file line number Diff line number Diff line change 1
1
name : macos_ui
2
2
description : Flutter widgets and themes implementing the current macOS design language.
3
- version : 2.0.7
3
+ version : 2.0.8
4
4
homepage : " https://macosui.dev"
5
5
repository : " https://github.com/GroovinChip/macos_ui"
6
6
You can’t perform that action at this time.
0 commit comments