Skip to content

Commit

Permalink
Tweak style for commands editor on elementary OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ztefn committed Aug 22, 2021
1 parent 480c487 commit bf20b98
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/widgets/commands-editor.vala
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public class CommandsEditor : Box
border_width = 12;
orientation = Orientation.VERTICAL;

#if FOR_ELEMENTARY
get_style_context().add_class ("frame");
#endif
get_style_context().add_class ("commands-editor");


Expand Down Expand Up @@ -128,7 +131,9 @@ public class CommandsEditor : Box


ScrolledWindow sw = new ScrolledWindow (null, null);
#if !FOR_ELEMENTARY
sw.shadow_type = ShadowType.ETCHED_IN;
#endif
sw.get_style_context().set_junction_sides (JunctionSides.BOTTOM);
sw.hscrollbar_policy = PolicyType.NEVER;
sw.vscrollbar_policy = PolicyType.AUTOMATIC;
Expand Down

0 comments on commit bf20b98

Please sign in to comment.