mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Tweak UI
This commit is contained in:
parent
b660126f60
commit
c6e872d26b
1 changed files with 13 additions and 2 deletions
|
@ -180,14 +180,20 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
|
||||||
left: 0,
|
left: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
child: Icon(Icons.keyboard_arrow_left),
|
child: Opacity(
|
||||||
|
opacity: .5,
|
||||||
|
child: Icon(Icons.keyboard_arrow_left),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
if (_hasRightButton)
|
if (_hasRightButton)
|
||||||
const Positioned(
|
const Positioned(
|
||||||
right: 0,
|
right: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
child: Icon(Icons.keyboard_arrow_right),
|
child: Opacity(
|
||||||
|
opacity: .5,
|
||||||
|
child: Icon(Icons.keyboard_arrow_right),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
SingleChildScrollView(
|
SingleChildScrollView(
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
|
@ -243,6 +249,11 @@ class _ViewerDetailPaneState extends State<ViewerDetailPane> {
|
||||||
label: L10n.global().slideshowTooltip,
|
label: L10n.global().slideshowTooltip,
|
||||||
onPressed: widget.onSlideshowPressed,
|
onPressed: widget.onSlideshowPressed,
|
||||||
),
|
),
|
||||||
|
_DetailPaneButton(
|
||||||
|
icon: Icons.slideshow_outlined,
|
||||||
|
label: L10n.global().slideshowTooltip,
|
||||||
|
onPressed: widget.onSlideshowPressed,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue