Skip to content

Commit

Permalink
Vertical Align SpinButton (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
alainm23 authored Sep 24, 2024
1 parent 848f7d0 commit 338a614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Views/Text.vala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ public class PantheonShell.Text : Switchboard.SettingsPage {
size_scale.add_mark (1, Gtk.PositionType.TOP, null);
size_scale.add_mark (1.25, Gtk.PositionType.TOP, null);

var size_spinbutton = new Gtk.SpinButton (size_adjustment, 0.25, 2);
var size_spinbutton = new Gtk.SpinButton (size_adjustment, 0.25, 2) {
valign = CENTER
};

var size_grid = new Gtk.Grid () {
column_spacing = 12
Expand Down

0 comments on commit 338a614

Please sign in to comment.