Mercurial > octave-nkf
diff libgui/src/files-dock-widget.cc @ 19880:72fe9df87fe8
improve scalability of gui objects (as discussed in bug #41938)
* files-dock-widget.cc (files_dock_widget): adjust size policy of combo box
* history-dock-widget.cc (history_dock_widget): adjust size policy of combo box
* workspace-view.cc (workspace_view): adjust size policy of combo box
* file-editor-tab.cc (file_editor_tab): make size of eol, line and col indicator
depending on font size
* main-window.cc (construct_tool_bar): make size of combo box for worling dir
depending on font size and adjust size policy
* main-window.h: remove static variable for combo box width
* settings-dialog.cc (read_lexer_settings): make width of labels and font combo
boxes for editor styles depeding on font size
* settings-dialog.ui: adjusted size policies of several objects
author | Torsten <ttl@justmail.de> |
---|---|
date | Tue, 24 Feb 2015 07:12:13 +0100 |
parents | 4197fc428c7d |
children | 597fc0fd8e54 |
line wrap: on
line diff
--- a/libgui/src/files-dock-widget.cc Tue Feb 24 13:53:02 2015 +0100 +++ b/libgui/src/files-dock-widget.cc Tue Feb 24 07:12:13 2015 +0100 @@ -90,7 +90,7 @@ _current_directory->setInsertPolicy (QComboBox::NoInsert); _current_directory->setSizeAdjustPolicy ( QComboBox::AdjustToMinimumContentsLengthWithIcon); - QSizePolicy sizePol (QSizePolicy::Expanding, QSizePolicy::Maximum); + QSizePolicy sizePol (QSizePolicy::Expanding, QSizePolicy::Preferred); _current_directory->setSizePolicy (sizePol); QAction *directory_up_action = new QAction (QIcon (":/actions/icons/up.png"),