chore(wx): increase window size on linux

This commit is contained in:
CLARATION committed 2026-09-17 18:49:03 -07:00
1 parent 9a04802afb
commit af06958989
2 files changed
+5 -2

No files matched your search

+1 -2
View File
@@ -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,
+4
View File
@@ -55,7 +55,11 @@ MainFrame::MainFrame()
wxID_ANY, wxID_ANY,
"palera1n - Version " + wxString(PALERAIN_VERSION), "palera1n - Version " + wxString(PALERAIN_VERSION),
wxDefaultPosition, wxDefaultPosition,
#ifdef __linux__
wxSize(520, 388),
#else
wxSize(480, 348), 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);