Skip to content

Commit

Permalink
small changes to layout
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeyg56 committed Feb 5, 2023
1 parent cd51ea3 commit 7b0d46d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions auto_cpufreq/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ def __init__(self):

# main HBOX
self.hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=HBOX_PADDING)
self.hbox.set_valign(Gtk.Align.CENTER)
self.hbox.set_halign(Gtk.Align.CENTER)
self.add(self.hbox)

self.systemstats = SystemStatsLabel()
Expand Down
4 changes: 2 additions & 2 deletions auto_cpufreq/gui/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
import os

sys.path.append("../../")
from auto_cpufreq.core import sysinfo, distro_info, getoutput, set_override, get_override
from subprocess import getoutput
from auto_cpufreq.core import sysinfo, distro_info, set_override, get_override

from io import StringIO

Expand Down Expand Up @@ -64,7 +65,6 @@ def set_selected(self):
case "default":
self.default.set_active(True)


class CurrentGovernorBox(Gtk.Box):
def __init__(self):
super().__init__(spacing=60)
Expand Down

0 comments on commit 7b0d46d

Please sign in to comment.