mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
feat: Add orientation and direction support for sys info
This commit is contained in:
parent
70b2c592b2
commit
44be58594b
10 changed files with 66 additions and 36 deletions
|
@ -23,9 +23,7 @@ impl CustomWidget for LabelWidget {
|
|||
fn into_widget(self, _context: CustomWidgetContext) -> Self::Widget {
|
||||
let label = build!(self, Self::Widget);
|
||||
|
||||
label.set_angle(
|
||||
self.orientation.to_angle(),
|
||||
);
|
||||
label.set_angle(self.orientation.to_angle());
|
||||
|
||||
label.set_use_markup(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue