mirror of
https://github.com/bradgrantham/apple2e.git
synced 2024-11-15 02:04:58 +00:00
center floppy icons
This commit is contained in:
parent
9db796961f
commit
f7b76a8631
@ -1449,7 +1449,7 @@ struct floppy_icon : public widget
|
|||||||
switched = new switcher({disk_out, disk_in, disk_in_active});
|
switched = new switcher({disk_out, disk_in, disk_in_active});
|
||||||
switched->which = inserted_ ? 1 : 0;
|
switched->which = inserted_ ? 1 : 0;
|
||||||
widget *label = new text_widget(to_string(number_ + 1));
|
widget *label = new text_widget(to_string(number_ + 1));
|
||||||
labeled = new widgetbox(widgetbox::HORIZONTAL, {new centering(label), new centering((widget*)switched)});
|
labeled = new widgetbox(widgetbox::HORIZONTAL, {new centering(label), new centering((widget*)switched), new centering(new text_widget(" "))});
|
||||||
}
|
}
|
||||||
virtual tuple<float, float> get_min_dimensions() const
|
virtual tuple<float, float> get_min_dimensions() const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user