From d407cdb045a047a59d352745184ca8a2ede9410d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Feb 2025 16:03:19 +0530 Subject: [PATCH] Fix main interface tab not expanding to use available width --- .../look_feel_tabs/main_interface.ui | 381 +++++++++--------- 1 file changed, 182 insertions(+), 199 deletions(-) diff --git a/src/calibre/gui2/preferences/look_feel_tabs/main_interface.ui b/src/calibre/gui2/preferences/look_feel_tabs/main_interface.ui index 97b0b33039..365e6af158 100644 --- a/src/calibre/gui2/preferences/look_feel_tabs/main_interface.ui +++ b/src/calibre/gui2/preferences/look_feel_tabs/main_interface.ui @@ -11,67 +11,6 @@ - - - - User interface style (&needs restart): - - - opt_ui_style - - - - - - - - - - - - Qt::Horizontal - - - - 20 - 1 - - - - - - - - - - - - - - - - - Change &icon theme - - - - - - - User interface &colors: - - - button_adjust_colors - - - - - - - Adjust &colors - - - @@ -82,19 +21,17 @@ - - - - - 250 - 16777215 - + + + + Show &tooltips in the book list - - QComboBox::AdjustToMinimumContentsLengthWithIcon - - - 20 + + + + + + Adjust &colors @@ -108,85 +45,13 @@ - - - - QComboBox::AdjustToMinimumContentsLengthWithIcon - - - 20 - - - - - + + - &Round the corners of covers: + User interface style (&needs restart): - opt_cover_corner_radius - - - - - - - - - Round the corners of covers in many places they are displayed such as the Cover grid, Book details panel, etc. Adjust the amount of rounding with this setting. A value of between 5 and 10 looks good with most covers sizes. Zero disables rounding and is the default. - - - no rounding - - - - - - - The unit for the cover corner rounding. Either pixel values or as a percentage of the cover size. - - - - - - - - - Enable s&ystem tray icon (needs restart) - - - - - - - Disable all animations. Useful if you have a slow/old computer. - - - Disable &animations - - - - - - - Disable popup notifications when calibre completes jobs such a conversion, sending to device etc. The notifications are sent via the operating system notification facility, if available. - - - Disable n&otifications on job completion - - - - - - - Show the &splash screen at startup - - - - - - - Show &tooltips in the book list + opt_ui_style @@ -211,10 +76,70 @@ - - + + - Change &font (needs restart) + Draw a &grid in the book list + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Disable popup notifications when calibre completes jobs such a conversion, sending to device etc. The notifications are sent via the operating system notification facility, if available. + + + Disable n&otifications on job completion + + + + + + + Show &row numbers in the book list + + + + + + + QComboBox::AdjustToMinimumContentsLengthWithIcon + + + 20 + + + + + + + E&xtra spacing to add between rows in the book list (can be negative): + + + opt_book_list_extra_row_spacing + + + + + + + &Round the corners of covers: + + + opt_cover_corner_radius @@ -273,6 +198,104 @@ + + + + Enable s&ystem tray icon (needs restart) + + + + + + + + + + Show the &splash screen at startup + + + + + + + User interface &colors: + + + button_adjust_colors + + + + + + + + + Round the corners of covers in many places they are displayed such as the Cover grid, Book details panel, etc. Adjust the amount of rounding with this setting. A value of between 5 and 10 looks good with most covers sizes. Zero disables rounding and is the default. + + + no rounding + + + + + + + The unit for the cover corner rounding. Either pixel values or as a percentage of the cover size. + + + + + + + + + Disable all animations. Useful if you have a slow/old computer. + + + Disable &animations + + + + + + + Allow using &drag and drop to merge books + + + + + + + px + + + -20 + + + + + + + Change &icon theme + + + + + + + + 250 + 16777215 + + + + QComboBox::AdjustToMinimumContentsLengthWithIcon + + + 20 + + + @@ -315,64 +338,24 @@ - - + + - E&xtra spacing to add between rows in the book list (can be negative): - - - opt_book_list_extra_row_spacing + Change &font (needs restart) - - - - px - - - -20 - - - - - + + - Show &row numbers in the book list + - - - - Draw a &grid in the book list - - - - - - - Allow using &drag and drop to merge books - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - +