Skip to content

Commit 93bf553

Browse files
authored
Merge pull request #4405 from seleniumbase/fix-recorder-app-layout
Fix Layout in Recorder App
2 parents 0c5867d + fd8a696 commit 93bf553

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

help_docs/recorder_mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
⏺️ Recorder Mode can be activated from the command-line interface or the desktop Recorder App. To launch the desktop app, run: `sbase recorder`:
1111

12-
<img src="https://seleniumbase.github.io/cdn/img/recorder_desktop_4.png" title="SeleniumBase Recorder App" width="340">
12+
<img src="https://seleniumbase.github.io/cdn/img/recorder_desktop_5.png" title="SeleniumBase Recorder App" width="340">
1313

1414
⏺️ To make a new recording from the command-line interface, use `sbase mkrec`:
1515

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.50.0"
2+
__version__ = "4.50.1"

seleniumbase/console_scripts/sb_recorder.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def create_tkinter_gui():
246246
default_file_name = "new_recording.py"
247247
window = tk.Tk()
248248
window.title("SeleniumBase Recorder App")
249-
window.geometry("344x564")
249+
window.geometry("344x560")
250250
my_font = ("TkDefaultFont", 11)
251251
frame = tk.Frame(window)
252252
frame.pack()
@@ -255,7 +255,7 @@ def create_tkinter_gui():
255255
label = tk.Label(window, text="Enter filename to save recording as:")
256256
label.pack(pady=(20, 0.2))
257257
entry = tk.Entry(window, textvariable=fname)
258-
entry.config(width=21)
258+
entry.config(width=22)
259259
entry.pack(pady=(0.6, 0.2))
260260
cbx = tk.IntVar()
261261
chk = tk.Checkbutton(window, text="Overwrite existing files", variable=cbx)
@@ -294,13 +294,13 @@ def create_tkinter_gui():
294294
options_list = ["Google Chrome"]
295295
options_list.append("Chromium Browser")
296296
if shared_utils.is_windows():
297-
options_list.append("MS Edge (No Stealth)")
297+
options_list.append("MS Edge (No Stealth)")
298298
br_order["edge"] = br_count
299299
br_count += 1
300300
else:
301301
with suppress(Exception):
302302
if os.path.exists(detect_b_ver.get_binary_location("edge")):
303-
options_list.append("MS Edge (No Stealth)")
303+
options_list.append("MS Edge (No Stealth)")
304304
br_order["edge"] = br_count
305305
br_count += 1
306306
with suppress(Exception):
@@ -372,14 +372,14 @@ def create_tkinter_gui():
372372
else:
373373
frx.set(options_list[0])
374374
question_menu = tk.OptionMenu(window, frx, *options_list)
375-
question_menu.config(width=18)
375+
question_menu.config(width=21)
376376
question_menu.pack(pady=(0.6, 0.2))
377377

378378
url = tk.StringVar()
379379
label = tk.Label(window, text="Enter a URL to start recording on:")
380380
label.pack(pady=(20, 0.2))
381381
entry = tk.Entry(window, textvariable=url)
382-
entry.config(width=23)
382+
entry.config(width=24)
383383
entry.pack()
384384
entry.focus()
385385
entry.bind(
@@ -425,7 +425,7 @@ def create_tkinter_gui():
425425
),
426426
).pack(pady=0.2)
427427
label = tk.Label(window, text="Playback recording (Normal Mode):")
428-
label.pack(pady=(18, 0))
428+
label.pack(pady=(17, 0))
429429

430430
style.configure(
431431
"Playback.TButton",
@@ -441,13 +441,13 @@ def create_tkinter_gui():
441441
command=lambda: do_playback(fname.get(), brx.get(), window),
442442
).pack(pady=0.2)
443443
label = tk.Label(window, text="Playback recording (Demo Mode):")
444-
label.pack(pady=(14, 0))
444+
label.pack(pady=(13, 0))
445445
try:
446446
style.configure(
447447
"PlaybackDemo.TButton",
448448
foreground="teal",
449449
font=("TkDefaultFont", 11, "bold"),
450-
width="16",
450+
width="18",
451451
padding=(4, 3, 4, 1)
452452
)
453453
ttk.Button(

0 commit comments

Comments
 (0)