Skip to content

Commit

Permalink
Added spacing for publish panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmackdev committed Aug 7, 2023
1 parent 5c70529 commit 56314b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pubsubman_gui/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ impl App {

egui::TopBottomPanel::bottom("topic_view_bottom_panel")
.resizable(true)
.frame(egui::Frame::side_top_panel(&ctx.style()).inner_margin(8.0))
.show_animated(
ctx,
self.memory.settings.view.show_publish_message_panel,
Expand Down
2 changes: 2 additions & 0 deletions pubsubman_gui/src/ui/publish_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ impl PublishView {
}
});

ui.add_space(8.0);

if ui.button("Publish").clicked() {
publish_message(front_tx, selected_topic, self.into())
}
Expand Down

0 comments on commit 56314b1

Please sign in to comment.