mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
PDFViewer: Autosize page label
This commit is contained in:
parent
2b9ffe2989
commit
1fdcf57c0b
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void PDFViewerWidget::initialize_toolbar(GUI::Toolbar& toolbar)
|
||||||
};
|
};
|
||||||
|
|
||||||
m_total_page_label = toolbar.add<GUI::Label>();
|
m_total_page_label = toolbar.add<GUI::Label>();
|
||||||
m_total_page_label->set_fixed_width(30);
|
m_total_page_label->set_autosize(true, 5);
|
||||||
toolbar.add_separator();
|
toolbar.add_separator();
|
||||||
|
|
||||||
m_zoom_in_action = GUI::CommonActions::make_zoom_in_action([&](auto&) {
|
m_zoom_in_action = GUI::CommonActions::make_zoom_in_action([&](auto&) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue