1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-29 13:52:03 +01:00

fix: set margins

This commit is contained in:
aclist 2024-01-31 16:17:45 +09:00
parent 274df41748
commit ac8a5f8175
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-39 version=5.0.0.rc-40
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -548,10 +548,10 @@ fetch_dzq(){
fetch_helpers_by_sum(){ fetch_helpers_by_sum(){
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="2c7b337afc5abc8be83bf3c62e043e71" ["ui.py"]="ff29782f8e6dbc21ffe7c2d620198bfd"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="1396887afe48f16096089395914a417d" ["funcs"]="9d5d376c585a1c34db388cb2c068aa8b"
) )
local author="aclist" local author="aclist"
local repo="dztui" local repo="dztui"
@ -824,7 +824,7 @@ initial_setup(){
steam_deps steam_deps
migrate_files migrate_files
stale_symlinks stale_symlinks
fetch_helpers > >(pdialog "Checking helper files") # fetch_helpers > >(pdialog "Checking helper files")
local_latlon local_latlon
is_steam_running is_steam_running
is_dzg_downloading is_dzg_downloading

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-39 version=5.0.0.rc-40
#CONSTANTS #CONSTANTS
aid=221100 aid=221100

View file

@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0-rc.39 # 5.0.0-rc.40
app_name = "DZGUI" app_name = "DZGUI"
cache = {} cache = {}
@ -1520,6 +1520,7 @@ class FilterPanel(Gtk.Box):
self.connect("button-release-event", self._on_button_release) self.connect("button-release-event", self._on_button_release)
self.set_orientation(Gtk.Orientation.VERTICAL) self.set_orientation(Gtk.Orientation.VERTICAL)
set_surrounding_margins(self, 10) set_surrounding_margins(self, 10)
self.set_margin_top(1)
self.filters_label = Gtk.Label(label="Filters") self.filters_label = Gtk.Label(label="Filters")