-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix(Linux): Window Size and Position on launch
- add linux/window_configuration.cpp` and `.h` - move the default window settings to the configuration file. - add the `window_configuration.cpp` file to the CMAKE list.
- Loading branch information
Showing
4 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "window_configuration.h" | ||
|
||
const char* kFlutterWindowTitle = "myWitWallet"; | ||
const unsigned int kFlutterWindowWidth = 400; | ||
const unsigned int kFlutterWindowHeight = 700; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef WINDOW_CONFIGURATION_ | ||
#define WINDOW_CONFIGURATION_ | ||
|
||
extern const char* kFlutterWindowTitle; | ||
extern const unsigned int kFlutterWindowWidth; | ||
extern const unsigned int kFlutterWindowHeight; | ||
|
||
#endif // WINDOW_CONFIGURATION_ |