more unified ui across platforms

This commit is contained in:
2024-09-06 16:05:27 -04:00
parent a4e2514bc0
commit ae58fc7c5e
6 changed files with 7 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="ything_radio"
android:label="Ything Radio"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity

View File

@@ -47,7 +47,7 @@ static void my_application_activate(GApplication* application) {
gtk_window_set_title(window, "ything_radio");
}
gtk_window_set_default_size(window, 1280, 720);
gtk_window_set_default_size(window, 500, 900);
gtk_widget_show(GTK_WIDGET(window));
g_autoptr(FlDartProject) project = fl_dart_project_new();

View File

@@ -332,7 +332,7 @@
</menu>
<window title="APP_NAME" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="MainFlutterWindow" customModule="Runner" customModuleProvider="target">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
<rect key="contentRect" x="335" y="390" width="800" height="600"/>
<rect key="contentRect" x="335" y="390" width="500" height="900"/>
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1577"/>
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
<rect key="frame" x="0.0" y="0.0" width="800" height="600"/>

View File

@@ -1,19 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<!--
If you are serving your web app in a path other than the root, change the
href value below to reflect the base path you are serving from.
The path provided below has to start and end with a slash "/" in order for
it to work correctly.
For more details:
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
This is a placeholder for base href that will be replaced by the value of
the `--base-href` argument provided to `flutter build`.
-->
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
@@ -29,7 +16,7 @@
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png"/>
<title>ything_radio</title>
<title>Ything Radio</title>
<link rel="manifest" href="manifest.json">
</head>
<body>

View File

@@ -1,6 +1,6 @@
{
"name": "ything_radio",
"short_name": "ything_radio",
"name": "Ything Radio",
"short_name": "Radio",
"start_url": ".",
"display": "standalone",
"background_color": "#0175C2",

View File

@@ -26,7 +26,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
Win32Window::Size size(500, 900);
if (!window.Create(L"ything_radio", origin, size)) {
return EXIT_FAILURE;
}