mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
chore(wx): increase window size on linux
This commit is contained in:
1 parent
9a04802afb
commit
af06958989
2 files changed
+6
-3
No files matched your search
+1
-2
@@ -45,8 +45,7 @@ int udev_rules_exist(void)
|
|||||||
int add_udev_rules(void)
|
int add_udev_rules(void)
|
||||||
{
|
{
|
||||||
FILE *f = fopen("/tmp/udevhelper.sh", "wb");
|
FILE *f = fopen("/tmp/udevhelper.sh", "wb");
|
||||||
if (!f)
|
if (!f) return 1;
|
||||||
return 1;
|
|
||||||
|
|
||||||
fwrite(
|
fwrite(
|
||||||
embedded_add_udev_rules_sh,
|
embedded_add_udev_rules_sh,
|
||||||
|
|||||||
+5
-1
@@ -55,7 +55,11 @@ MainFrame::MainFrame()
|
|||||||
wxID_ANY,
|
wxID_ANY,
|
||||||
"palera1n - Version " + wxString(PALERAIN_VERSION),
|
"palera1n - Version " + wxString(PALERAIN_VERSION),
|
||||||
wxDefaultPosition,
|
wxDefaultPosition,
|
||||||
wxSize(480, 348),
|
#ifdef __linux__
|
||||||
|
wxSize(520, 388),
|
||||||
|
#else
|
||||||
|
wxSize(480, 348),
|
||||||
|
#endif
|
||||||
wxDEFAULT_FRAME_STYLE & ~(wxMAXIMIZE_BOX | wxRESIZE_BORDER))
|
wxDEFAULT_FRAME_STYLE & ~(wxMAXIMIZE_BOX | wxRESIZE_BORDER))
|
||||||
{
|
{
|
||||||
auto* root = new wxBoxSizer(wxVERTICAL);
|
auto* root = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|||||||
Reference in new issue
Block a user