Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/fuzzy-search/fuzzy-search-popover.vala
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public class Scratch.FuzzySearchPopover : Gtk.Popover {

scrolled = new Gtk.ScrolledWindow (null, null) {
propagate_natural_height = true,
hexpand = true,
hexpand = true
};

scrolled.add (search_result_container);
Expand Down
3 changes: 2 additions & 1 deletion plugins/pastebin/pastebin_dialog.vala
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ namespace Scratch.Dialogs {
var languages_scrolled = new Gtk.ScrolledWindow (null, null) {
hscrollbar_policy = Gtk.PolicyType.NEVER,
height_request = 250,
expand = true
hexpand = true,
vexpand = true
};
languages_scrolled.add (languages_listbox);

Expand Down
2 changes: 1 addition & 1 deletion src/FolderManager/FileView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranties of
* MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.

* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
Expand Down
3 changes: 2 additions & 1 deletion src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ namespace Scratch {
view_grid.add (document_view);

content_stack = new Gtk.Stack () {
expand = true,
hexpand = true,
vexpand = true,
width_request = 200
};

Expand Down
3 changes: 2 additions & 1 deletion src/Services/Document.vala
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ namespace Scratch.Services {
source_view = new Scratch.Widgets.SourceView ();

scroll = new Gtk.ScrolledWindow (null, null) {
expand = true
hexpand = true,
vexpand = true
};
scroll.add (source_view);
source_file = new Gtk.SourceFile ();
Expand Down
3 changes: 2 additions & 1 deletion src/Widgets/ChooseProjectButton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public class Code.ChooseProjectButton : Gtk.MenuButton {

var project_scrolled = new Gtk.ScrolledWindow (null, null) {
hscrollbar_policy = Gtk.PolicyType.NEVER,
expand = true,
hexpand = true,
vexpand = true,
margin_top = 3,
margin_bottom = 3,
max_content_height = 350,
Expand Down
3 changes: 2 additions & 1 deletion src/Widgets/SourceList/SourceList.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1645,7 +1645,8 @@ public class SourceList : Gtk.ScrolledWindow {
set_model (data_model);

halign = valign = Gtk.Align.FILL;
expand = true;
hexpand = true;
vexpand = true;

enable_search = false;
headers_visible = false;
Expand Down
3 changes: 2 additions & 1 deletion src/Widgets/SourceView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ namespace Scratch.Widgets {
application = (Scratch.Application) (GLib.Application.get_default ());
space_drawer.enable_matrix = true;

expand = true;
hexpand = true;
vexpand = true;
manager = Gtk.SourceLanguageManager.get_default ();
style_scheme_manager = new Gtk.SourceStyleSchemeManager ();

Expand Down
Loading