move light type right
This commit is contained in:
parent
616ba9f881
commit
c610f8b798
|
@ -139,10 +139,6 @@ impl Widget for LightEntry {
|
||||||
gtk::Box {
|
gtk::Box {
|
||||||
orientation: Orientation::Horizontal,
|
orientation: Orientation::Horizontal,
|
||||||
|
|
||||||
gtk::Image {
|
|
||||||
from_resource: Some(&self.model.icon),
|
|
||||||
},
|
|
||||||
|
|
||||||
#[name = "color_indicator"]
|
#[name = "color_indicator"]
|
||||||
gtk::DrawingArea {
|
gtk::DrawingArea {
|
||||||
width_request: 25,
|
width_request: 25,
|
||||||
|
@ -172,6 +168,11 @@ impl Widget for LightEntry {
|
||||||
margin: 4,
|
margin: 4,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
gtk::Image {
|
||||||
|
margin: 4,
|
||||||
|
from_resource: Some(&self.model.icon),
|
||||||
|
},
|
||||||
|
|
||||||
gtk::Label {
|
gtk::Label {
|
||||||
text: &self.model.name,
|
text: &self.model.name,
|
||||||
margin: 4,
|
margin: 4,
|
||||||
|
|
Loading…
Reference in a new issue