Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
f478864b2c
commit
de2add8d0f
2 changed files with 9 additions and 1 deletions
|
@ -9,7 +9,6 @@ class TheCatTools.GUI.BoubleBar : Adw.Bin, Gtk.Orientable {
|
|||
width_request = 60;
|
||||
notify["value"].connect (queue_draw);
|
||||
add_css_class ("bubble-bar");
|
||||
vexpand = true;
|
||||
bubble.vexpand = true;
|
||||
bubble.hexpand = true;
|
||||
overlay.add_overlay (bubble);
|
||||
|
@ -24,4 +23,10 @@ class TheCatTools.GUI.BoubleBar : Adw.Bin, Gtk.Orientable {
|
|||
width_request = orientation ? -1 : requested_size;
|
||||
height_request = orientation ? requested_size : -1;
|
||||
}
|
||||
|
||||
public class Line : DrawingAreaOrientable {
|
||||
public override void draw_func (Gtk.DrawingArea self, Cairo.Context cr, int width, int height) {
|
||||
assert_not_reached ();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -31,6 +31,7 @@ template $TheCatToolsWindow: Adw.ApplicationWindow {
|
|||
[start]
|
||||
$TheCatToolsGUIBoubleBar hbar {
|
||||
orientation: horizontal;
|
||||
|
||||
layout {
|
||||
column: 2;
|
||||
row: 1;
|
||||
|
@ -45,6 +46,8 @@ template $TheCatToolsWindow: Adw.ApplicationWindow {
|
|||
[start]
|
||||
$TheCatToolsGUIBoubleBar vbar {
|
||||
orientation: vertical;
|
||||
vexpand: true;
|
||||
|
||||
layout {
|
||||
column: 1;
|
||||
row: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue