Skip to content

Commit

Permalink
* - Fix flashing image on buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Nov 27, 2021
1 parent d309a14 commit 40c29cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/colorbutton.vala
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class Colorway.PaletteButton : Gtk.Button {
construct {
visible = true;
width_request = 32;
width_request = 64;
height_request = 32;
hexpand = true;
Expand Down
3 changes: 2 additions & 1 deletion src/window.vala
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ namespace Colorway {
ubox.get_style_context ().add_class ("clr-fourth");

mbox = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
mbox.set_halign(Gtk.Align.CENTER);
mbox.set_halign (Gtk.Align.CENTER);
mbox.overflow = HIDDEN;
mbox.set_homogeneous(true);
mbox.width_request = 260;
mbox.set_margin_end (18);
Expand Down

0 comments on commit 40c29cb

Please sign in to comment.