Added rounded corners on images

This commit is contained in:
jeffser 2024-10-11 16:40:23 -06:00
parent 8bfa0830c1
commit 0bc9f79f99
2 changed files with 4 additions and 0 deletions

View File

@ -294,6 +294,7 @@ class image(Gtk.Button):
tooltip_text=_("Missing Image")
)
image_texture.update_property([4], [_("Missing image")])
self.set_overflow(1)
self.connect("clicked", lambda button, file_path=os.path.join(head, '{selected_chat}', last_dir, file_name): window.preview_file(file_path, 'image', None))
class image_container(Gtk.ScrolledWindow):

View File

@ -4,6 +4,9 @@
.chat_image_button {
padding: 0;
}
.chat_image_button, .chat_image_button image {
border-radius: 10px;
}
.editing_message_textview {
border-radius: 5px;
padding: 5px;