mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
Ladybird: Slightly increase the size of the Task Manager window
This adds a bit more room to see most titles on one line.
This commit is contained in:
parent
2851c05dee
commit
771054bff7
Notes:
sideshowbarker
2024-07-17 06:29:49 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/771054bff7 Pull-request: https://github.com/SerenityOS/serenity/pull/24074 Reviewed-by: https://github.com/ADKaster ✅
@ -15,8 +15,8 @@
|
||||
# error "This project requires ARC"
|
||||
#endif
|
||||
|
||||
static constexpr CGFloat const WINDOW_WIDTH = 400;
|
||||
static constexpr CGFloat const WINDOW_HEIGHT = 300;
|
||||
static constexpr CGFloat const WINDOW_WIDTH = 600;
|
||||
static constexpr CGFloat const WINDOW_HEIGHT = 400;
|
||||
|
||||
@interface TaskManager ()
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ TaskManagerWindow::TaskManagerWindow(QWidget* parent)
|
||||
layout()->addWidget(m_web_view);
|
||||
|
||||
setWindowTitle("Task Manager");
|
||||
resize(400, 300);
|
||||
resize(600, 400);
|
||||
|
||||
m_update_timer.setInterval(1000);
|
||||
|
||||
|
@ -780,7 +780,7 @@ void BrowserWindow::show_task_manager_window()
|
||||
if (!m_task_manager_window) {
|
||||
m_task_manager_window = GUI::Window::construct();
|
||||
m_task_manager_window->set_window_mode(GUI::WindowMode::Modeless);
|
||||
m_task_manager_window->resize(400, 300);
|
||||
m_task_manager_window->resize(600, 400);
|
||||
m_task_manager_window->set_title("Task Manager");
|
||||
|
||||
(void)m_task_manager_window->set_main_widget<TaskManagerWidget>();
|
||||
|
Loading…
Reference in New Issue
Block a user