Added rounded corners on images
This commit is contained in:
parent
8bfa0830c1
commit
0bc9f79f99
@ -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):
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user