Skip to content

Commit

Permalink
Merge branch '511-compile-error-because-of-bad-character-in-messageba…
Browse files Browse the repository at this point in the history
…nner' into 'master'

Resolve "Compile Error because of bad character in MessageBanner"

Closes #511

See merge request bright-giant/sirius/sirius-frontend!221
  • Loading branch information
Marcus Ludwig committed Dec 2, 2024
2 parents 2067d57 + 40da919 commit d659896
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public enum BannerType {GOOD, INFO, WARNING, ERROR}
public MessageBanner(String message, BannerType bannerType) {
super(message);
setBorder(BorderFactory.createEmptyBorder(3, GuiUtils.SMALL_GAP, 3, GuiUtils.SMALL_GAP));
` setOpaque(true);
setOpaque(true);

switch (bannerType) {
case GOOD -> setBackground(Colors.GOOD_IS_GREEN_PALE); //todo change to text green later
Expand Down

0 comments on commit d659896

Please sign in to comment.