Skip to content

Commit

Permalink
layout fix
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrj committed Mar 1, 2024
1 parent 9fcbc5f commit 6660215
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ def __init__(self,parent,icon,bg_color,pre_show=None,post_close=None,min_width=1
self.area_main.grid_columnconfigure(0, weight=1)

self.cancel_button=Button(self.area_buttons, text='Close', width=14, command=super().hide )
self.cancel_button.pack(side='right', anchor='e',padx=2,pady=5)
self.cancel_button.pack(side='right', anchor='e',padx=2,pady=5,fill='both')

self.copy_button=Button(self.area_buttons, text='Copy', width=14, command=self.clip_copy_message )
self.copy_button.pack(side='right', anchor='w',padx=2,pady=5)
self.copy_button.pack(side='right', anchor='w',padx=2,pady=5,fill='both')

self.find_next_butt=Button(self.area_mark, command=lambda : self.find_next_prev(1), width=1)
self.find_next_butt.pack(side='right', anchor='w',padx=2,pady=5,fill='both')
Expand Down Expand Up @@ -509,7 +509,7 @@ def __init__(self,parent,icon,bg_color,pre_show=None,post_close=None,min_width=8
self.cancel_button.pack(side='left', anchor='n',padx=5,pady=5)

self.ok_button=Button(self.area_buttons, text='OK', width=14, command=self.ok,image=image, compound='left' )
self.ok_button.pack(side='right', anchor='n',padx=5,pady=5)
self.ok_button.pack(side='right', anchor='n',padx=5,pady=5,fill='both')

self.focus=self.cancel_button

Expand Down

0 comments on commit 6660215

Please sign in to comment.