mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 04:05:12 -07:00
Compare commits
1 Commits
v1.7.2-pre
...
sync-store
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b110e4ae5 |
@@ -2,17 +2,11 @@
|
|||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: black;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
|
||||||
background-color: rgb(254,254,254);
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: block;
|
display: block;
|
||||||
width:100%;
|
width:100%;
|
||||||
@@ -23,8 +17,10 @@ input {
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
background-color: white;
|
}
|
||||||
color: black;
|
|
||||||
|
#newCounter {
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
.result {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
// Version - Wails version
|
// Version - Wails version
|
||||||
const Version = "v1.7.2-pre12"
|
const Version = "v1.7.2-pre9"
|
||||||
|
|||||||
@@ -1431,13 +1431,6 @@ struct webview_priv
|
|||||||
style = WS_OVERLAPPED | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU;
|
style = WS_OVERLAPPED | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scale
|
|
||||||
// Credit: https://github.com/webview/webview/issues/54#issuecomment-379528243
|
|
||||||
HDC hDC = GetDC(NULL);
|
|
||||||
w->width = GetDeviceCaps(hDC, 88)*w->width/96.0;
|
|
||||||
w->height = GetDeviceCaps(hDC, 90)*w->height/96.0;
|
|
||||||
ReleaseDC(NULL, hDC);
|
|
||||||
|
|
||||||
rect.left = 0;
|
rect.left = 0;
|
||||||
rect.top = 0;
|
rect.top = 0;
|
||||||
rect.right = w->width;
|
rect.right = w->width;
|
||||||
|
|||||||
Reference in New Issue
Block a user