File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class HeaderBarStyle {
12
12
const HeaderBarStyle ({
13
13
this .isTransparent = false ,
14
14
this .textStyle,
15
- this .height = 51 ,
15
+ this .height = 47 ,
16
16
this .autoPositionWindowButtons = true ,
17
17
this .padding = const EdgeInsets .only (left: 3 , right: 5 ),
18
18
this .titlebarSpace = 6 ,
@@ -181,7 +181,6 @@ class _AdwHeaderBarState extends State<AdwHeaderBar> {
181
181
: null ,
182
182
border: ! widget.style.isTransparent
183
183
? Border (
184
- top: BorderSide (color: Theme .of (context).backgroundColor),
185
184
bottom: BorderSide (color: context.borderColor),
186
185
)
187
186
: null ,
@@ -213,14 +212,24 @@ class _AdwHeaderBarState extends State<AdwHeaderBar> {
213
212
if (windowButtons[i] != null ) windowButtons[i]! ,
214
213
SizedBox (width: widget.style.titlebarSpace),
215
214
],
216
- ...widget.start,
215
+ ...widget.start.map (
216
+ (e) => Padding (
217
+ padding: const EdgeInsets .only (right: 4 ),
218
+ child: e,
219
+ ),
220
+ ),
217
221
],
218
222
),
219
223
middle: widget.title,
220
224
trailing: Row (
221
225
mainAxisSize: MainAxisSize .min,
222
226
children: [
223
- ...widget.end,
227
+ ...widget.end.map (
228
+ (e) => Padding (
229
+ padding: const EdgeInsets .only (left: 4 ),
230
+ child: e,
231
+ ),
232
+ ),
224
233
if (hasWindowControls &&
225
234
sep != null &&
226
235
sep[1 ].split (',' ).isNotEmpty) ...[
You can’t perform that action at this time.
0 commit comments