Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember the window size #31

Open
novns opened this issue Aug 28, 2024 · 3 comments
Open

Remember the window size #31

novns opened this issue Aug 28, 2024 · 3 comments

Comments

@novns
Copy link

novns commented Aug 28, 2024

The app always starts as a small square window, only one board link is visible.

You need to change the window size every time to see all boards and all columns in a board.

Remembering the last windows size would be good.

@leandromattioli
Copy link

Well, starting the application with a 400x400 window indeed isn't a good option. Until your suggestion ("remembering" window size) is properly implemented, I suggest starting the main window maximized (it is already better than starting too small).

Adding the line this->maximize() at the bottom of the constructor is sufficient for this matter.

diff --git a/src/window.cpp b/src/window.cpp
index 37ee632..20b8009 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -154,6 +154,8 @@ ProgressWindow::ProgressWindow(BaseObjectType* cobject,
     delete_boards_bar.set_margin_bottom(10);
     app_overlay_p->add_overlay(delete_boards_bar);
     app_stack_p->add(board_widget, "board-page");
+
+    this->maximize();
 }
 
 ProgressWindow::~ProgressWindow() {

@smolBlackCat
Copy link
Owner

The app always starts as a small square window, only one board link is visible.

Yeah, I'm aware of this pesky situation. I was planning on adding this and another bunch of new features in the next major release. But if this is something that may be inconvenient for some users, we can add a temporary solution, like the one mentioned by @leandromattioli

@smolBlackCat
Copy link
Owner

This issue is now solved in Progress 2.0 #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants