move light type right

This commit is contained in:
LordMZTE 2021-10-25 00:42:43 +02:00
parent 616ba9f881
commit c610f8b798
1 changed files with 5 additions and 4 deletions

View File

@ -139,10 +139,6 @@ impl Widget for LightEntry {
gtk::Box {
orientation: Orientation::Horizontal,
gtk::Image {
from_resource: Some(&self.model.icon),
},
#[name = "color_indicator"]
gtk::DrawingArea {
width_request: 25,
@ -172,6 +168,11 @@ impl Widget for LightEntry {
margin: 4,
},
gtk::Image {
margin: 4,
from_resource: Some(&self.model.icon),
},
gtk::Label {
text: &self.model.name,
margin: 4,