Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed Dec 22, 2023
1 parent e3b5257 commit 29e1946
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions data/io.github.mrvladus.List.gschema.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<schemalist gettext-domain="list">
<schema id="@APP_ID@" path="@PREFIX@/">
<key name="width" type="i">
<default>500</default>
<default>1000</default>
</key>
<key name="height" type="i">
<default>600</default>
<default>700</default>
</key>
<key name="maximized" type="b">
<default>false</default>
Expand Down
5 changes: 3 additions & 2 deletions errands/widgets/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def build_ui(self):
colors_box = Gtk.Box(halign="center", css_classes=["toolbar"])
colors = ["", "blue", "green", "yellow", "orange", "red", "purple", "brown"]
for color in colors:
btn = Gtk.Button()
btn = Gtk.Button(can_shrink=True)
if color == "":
btn.set_icon_name("window-close-symbolic")
btn.set_tooltip_text(_("Clear Style")) # type:ignore
Expand Down Expand Up @@ -117,12 +117,13 @@ def build_ui(self):
self.notes = Gtk.TextBuffer()
self.notes.connect("changed", lambda *_: self.save_btn.set_sensitive(True))
notes_view = Gtk.TextView(
height_request=55,
height_request=60,
top_margin=12,
bottom_margin=12,
left_margin=12,
right_margin=12,
buffer=self.notes,
wrap_mode=3,
)
notes_view.add_css_class("card")
notes_group.add(notes_view)
Expand Down
2 changes: 1 addition & 1 deletion errands/widgets/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _build_ui(self):
# Toast overlay
self.toast_overlay = Adw.ToastOverlay(child=self.split_view)
# Breakpoints
bp = Adw.Breakpoint.new(Adw.breakpoint_condition_parse("max-width: 1080px"))
bp = Adw.Breakpoint.new(Adw.breakpoint_condition_parse("max-width: 990px"))
bp.add_setter(self.split_view, "collapsed", True)
bp.add_setter(self.split_view, "show-content", True)
self.add_breakpoint(bp)
Expand Down
Binary file modified screenshots/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/secondary.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 29e1946

Please sign in to comment.