mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-30 13:09:35 +02:00
Make more room for direction slider next to add/remove/cycle buttons
This commit is contained in:
1 parent
4ae0737016
commit
e45f10e496
2 files changed
+6
-6
No files matched your search
@@ -75,7 +75,7 @@ class AddNodeSheet extends StatelessWidget {
|
|||||||
onPressed: session.directions.length > 1 ? () => appState.removeDirection() : null,
|
onPressed: session.directions.length > 1 ? () => appState.removeDirection() : null,
|
||||||
tooltip: 'Remove current direction',
|
tooltip: 'Remove current direction',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
// Add button
|
// Add button
|
||||||
IconButton(
|
IconButton(
|
||||||
@@ -83,7 +83,7 @@ class AddNodeSheet extends StatelessWidget {
|
|||||||
onPressed: () => appState.addDirection(),
|
onPressed: () => appState.addDirection(),
|
||||||
tooltip: 'Add new direction',
|
tooltip: 'Add new direction',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
// Cycle button
|
// Cycle button
|
||||||
IconButton(
|
IconButton(
|
||||||
@@ -91,7 +91,7 @@ class AddNodeSheet extends StatelessWidget {
|
|||||||
onPressed: session.directions.length > 1 ? () => appState.cycleDirection() : null,
|
onPressed: session.directions.length > 1 ? () => appState.cycleDirection() : null,
|
||||||
tooltip: 'Cycle through directions',
|
tooltip: 'Cycle through directions',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ class EditNodeSheet extends StatelessWidget {
|
|||||||
onPressed: session.directions.length > 1 ? () => appState.removeDirection() : null,
|
onPressed: session.directions.length > 1 ? () => appState.removeDirection() : null,
|
||||||
tooltip: 'Remove current direction',
|
tooltip: 'Remove current direction',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
// Add button
|
// Add button
|
||||||
IconButton(
|
IconButton(
|
||||||
@@ -84,7 +84,7 @@ class EditNodeSheet extends StatelessWidget {
|
|||||||
onPressed: () => appState.addDirection(),
|
onPressed: () => appState.addDirection(),
|
||||||
tooltip: 'Add new direction',
|
tooltip: 'Add new direction',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
// Cycle button
|
// Cycle button
|
||||||
IconButton(
|
IconButton(
|
||||||
@@ -92,7 +92,7 @@ class EditNodeSheet extends StatelessWidget {
|
|||||||
onPressed: session.directions.length > 1 ? () => appState.cycleDirection() : null,
|
onPressed: session.directions.length > 1 ? () => appState.cycleDirection() : null,
|
||||||
tooltip: 'Cycle through directions',
|
tooltip: 'Cycle through directions',
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
constraints: const BoxConstraints(minWidth: 32, minHeight: 32),
|
constraints: const BoxConstraints(minWidth: 28, minHeight: 32),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user