Skip to content

Commit

Permalink
devops: stop workflows |front: better size |wails: window height
Browse files Browse the repository at this point in the history
  • Loading branch information
guiklimek committed Jan 31, 2024
1 parent 63f18e0 commit e6ce119
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,25 @@
# https://github.com/Ambre-io/sparkplugui
#

name: sparkplugui
name: Linux

on:
push:
branches: [ "main" ]
# branches: [ "main" ]
# tags: ['v*']
pull_request:
branches: [ "main" ]
# branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- uses: dAppServer/wails-build-action@v2.2
- name: Build Linux SparkpluGUI
uses: dAppServer/wails-build-action@v2.2
with:
build-name: SparkpluGUI
build-platform: linux/amd64
12 changes: 7 additions & 5 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@
# https://github.com/Ambre-io/sparkplugui
#

name: sparkplugui
name: macOs

on:
push:
branches: [ "main" ]
# branches: [ "main" ]
pull_request:
branches: [ "main" ]
# branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- uses: dAppServer/wails-build-action@v2.2
- name: Build macOs SparkpluGUI
uses: dAppServer/wails-build-action@v2.2
with:
build-name: SparkpluGUI
build-platform: darwin/amd64
12 changes: 7 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@
# https://github.com/Ambre-io/sparkplugui
#

name: sparkplugui
name: Windows

on:
push:
branches: [ "main" ]
# branches: [ "main" ]
pull_request:
branches: [ "main" ]
# branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3

- uses: dAppServer/wails-build-action@v2.2
- name: Build Windows SparkpluGUI
uses: dAppServer/wails-build-action@v2.2
with:
build-name: SparkpluGUI
build-platform: windows/amd64
6 changes: 3 additions & 3 deletions frontend/src/components/containers/Amain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const defaultLayouts: Layouts = {
lg: [
{i: constants.softCard, x: 0, y: 0, w: 3, h: 1, static: true},
{i: constants.formCard, x: 3, y: 0, w: 5, h: 1, minW: 3, minH: 1},
{i: constants.treeCard, x: 0, y: 2, w: 4, h: 5, minW: 3, minH: 1},
{i: constants.lastMessageCard, x: 4, y: 0, w: 4, h: 5, minW: 3, minH: 1},
{i: constants.messagesCard, x: 8, y: 0, w: 4, h: 6, minW: 3, minH: 1}
{i: constants.treeCard, x: 0, y: 2, w: 4, h: 4, minW: 3, minH: 1},
{i: constants.lastMessageCard, x: 4, y: 0, w: 4, h: 4, minW: 3, minH: 1},
{i: constants.messagesCard, x: 8, y: 0, w: 4, h: 5, minW: 3, minH: 1}
],
xl: [
{i: constants.softCard, x: 0, y: 0, w: 2, h: 1, static: true},
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var popWindowWidth = 1500
var popWindowHeight = 970

var minWindowWidth = md + 1
var minWindowHeight = 810
var minWindowHeight = 830

var maxWindowWidth = 2560
var maxWindowHeight = 1440
Expand Down

0 comments on commit e6ce119

Please sign in to comment.