mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-07-18 10:07:22 +02:00
Make more room for direction slider next to add/remove/cycle buttons
This commit is contained in:
@@ -75,7 +75,7 @@ class AddNodeSheet extends StatelessWidget {
|
||||
onPressed: session.directions.length > 1 ? () => appState.removeDirection() : null,
|
||||
tooltip: 'Remove current direction',
|
||||
padding: EdgeInsets.zero,
|
||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
||||
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||
),
|
||||
// Add button
|
||||
IconButton(
|
||||
@@ -83,7 +83,7 @@ class AddNodeSheet extends StatelessWidget {
|
||||
onPressed: () => appState.addDirection(),
|
||||
tooltip: 'Add new direction',
|
||||
padding: EdgeInsets.zero,
|
||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
||||
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||
),
|
||||
// Cycle button
|
||||
IconButton(
|
||||
@@ -91,7 +91,7 @@ class AddNodeSheet extends StatelessWidget {
|
||||
onPressed: session.directions.length > 1 ? () => appState.cycleDirection() : null,
|
||||
tooltip: 'Cycle through directions',
|
||||
padding: EdgeInsets.zero,
|
||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
||||
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||
),
|
||||
],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user