fix: title bar inceltildi (28px), degrade kaldırıldı
Build Windows / build-windows (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
This commit is contained in:
1 parent
8dd1037f34
commit
181b063329
5 files changed
+5
-20
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -119,7 +119,7 @@ class _ViewerScreenState extends State<ViewerScreen> with WindowListener {
|
|||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Positioned(
|
Positioned(
|
||||||
top: 40,
|
top: 28,
|
||||||
left: 0,
|
left: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
|
|||||||
@@ -12,24 +12,9 @@ class CustomTitleBar extends StatelessWidget {
|
|||||||
right: 0,
|
right: 0,
|
||||||
child: DragToMoveArea(
|
child: DragToMoveArea(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 40,
|
height: 28,
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
// Çok hafif degrade — masaüstü arka planı hafifçe karartır
|
|
||||||
Positioned.fill(
|
|
||||||
child: Container(
|
|
||||||
decoration: const BoxDecoration(
|
|
||||||
gradient: LinearGradient(
|
|
||||||
begin: Alignment.topCenter,
|
|
||||||
end: Alignment.bottomCenter,
|
|
||||||
colors: [
|
|
||||||
Color.fromRGBO(0, 0, 0, 0.1),
|
|
||||||
Color.fromRGBO(0, 0, 0, 0.0),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
Positioned(
|
Positioned(
|
||||||
right: 0,
|
right: 0,
|
||||||
top: 0,
|
top: 0,
|
||||||
@@ -69,9 +54,9 @@ class _BarButton extends StatelessWidget {
|
|||||||
child: MouseRegion(
|
child: MouseRegion(
|
||||||
cursor: SystemMouseCursors.click,
|
cursor: SystemMouseCursors.click,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 44,
|
width: 36,
|
||||||
height: 40,
|
height: 28,
|
||||||
child: Icon(icon, color: Colors.white54, size: 18),
|
child: Icon(icon, color: Colors.white54, size: 16),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user