@@ -113,36 +113,50 @@ class _LauncherInitializedStateViewState
113
113
child: MouseRegion (
114
114
onEnter: (e) => setContentState (() => hover = true ),
115
115
onExit: (e) => setContentState (() => hover = false ),
116
- child: AppTooltipBuilder .wrap (
117
- text: workspaceEntity.name,
118
- child: AnimatedContainer (
119
- duration: const Duration (milliseconds: 250 ),
120
- width: 80 ,
121
- height: 80 ,
122
- padding: const EdgeInsets .all (16.0 ),
123
- margin: const EdgeInsets .all (16.0 ),
124
- decoration: BoxDecoration (
125
- color: AppTheme .background,
126
- borderRadius: BorderRadius .circular (20 ),
127
- boxShadow: [
128
- BoxShadow (
129
- color: accentColorMap[
130
- workspaceEntity.name[0 ].toUpperCase ()]!
131
- .withOpacity (hover ? 0.6 : 0.2 ),
132
- blurRadius: 16 ,
133
- )
134
- ],
135
- ),
136
- child: Center (
137
- child: AnimatedScale (
138
- duration: const Duration (milliseconds: 500 ),
139
- scale: hover ? 0.8 : 1.0 ,
140
- child: getWorkspaceIcon (
141
- workspaceEntity.iconPath,
116
+ child: Column (
117
+ mainAxisSize: MainAxisSize .min,
118
+ children: [
119
+ AnimatedContainer (
120
+ duration: const Duration (milliseconds: 250 ),
121
+ width: 80 ,
122
+ height: 80 ,
123
+ padding: const EdgeInsets .all (16.0 ),
124
+ margin: EdgeInsets .only (
125
+ top: 16.0 ,
126
+ bottom: hover ? 6.0 : 16.0 ,
127
+ right: 16.0 ,
128
+ left: 16.0 ,
129
+ ),
130
+ decoration: BoxDecoration (
131
+ color: AppTheme .background,
132
+ borderRadius: BorderRadius .circular (20 ),
133
+ boxShadow: [
134
+ BoxShadow (
135
+ color: (AppTheme .isDarkMode ()
136
+ ? AppTheme .dialogDropShadow
137
+ : accentColorMap[
138
+ getAccentChar (workspaceEntity.name)
139
+ .toUpperCase ()]! )
140
+ .withOpacity (hover ? 0.6 : 0.2 ),
141
+ blurRadius: 16 ,
142
+ )
143
+ ],
144
+ ),
145
+ child: Center (
146
+ child: AnimatedScale (
147
+ duration: const Duration (milliseconds: 500 ),
148
+ scale: hover ? 0.8 : 1.0 ,
149
+ child: getWorkspaceIcon (
150
+ workspaceEntity.iconPath,
151
+ ),
142
152
),
143
153
),
144
154
),
145
- ),
155
+ Text (
156
+ workspaceEntity.name,
157
+ style: AppTheme .fontSize (12 ).makeBold (),
158
+ ),
159
+ ],
146
160
),
147
161
),
148
162
);
@@ -230,12 +244,17 @@ class _LauncherInitializedStateViewState
230
244
),
231
245
if (launchStatus != null )
232
246
Align (
233
- alignment: Alignment .bottomCenter ,
247
+ alignment: Alignment .topCenter ,
234
248
child: Padding (
235
249
padding: const EdgeInsets .all (16.0 ),
236
- child: Text (
237
- launchStatus! ,
238
- style: AppTheme .fontSize (14 ).makeBold (),
250
+ child: SizedBox (
251
+ width: 300 ,
252
+ child: Text (
253
+ launchStatus! ,
254
+ textAlign: TextAlign .center,
255
+ overflow: TextOverflow .ellipsis,
256
+ style: AppTheme .fontSize (13 ),
257
+ ),
239
258
),
240
259
),
241
260
),
0 commit comments