TabletFriend icon indicating copy to clipboard operation
TabletFriend copied to clipboard

Empty space at the top of the layout.

Open LiamKe2 opened this issue 1 year ago • 1 comments

I created the layout below. The result is that between the top border and the first button there is a space of around 2 buttons, that I don't see in other layouts. I don't know if I am adding something I should not. I read the readme, and other things, but I cannot find an answer. Thanks

margin: 1 button_size: 32 buttons: titleonly: action: size: 2,1 style: shy text: Onenote full: action: f11 size: 1,1 style: outline icon: square text: Full newwindow: action: ctrl+m size: 1,1 style: outline icon: checkbook text: New Window undo: action: ctrl+z size: 1,1 style: accent icon: undo text: undo redo: action: ctrl+y size: 1,1 style: accent icon: redo text: redo

docked_spacer1:
	spacer: true
	visibility: docked
	size: 2,1

copy:
	action: ctrl+c
	size: 1,1
	style: outlined
	icon: content_copy
	text: copy
paste:
	action: ctrl+v
	size: 1,1
	style: outlined
	icon: content_paste
	text: paste
cut:
	action: ctrl+x
	size: 1,1
	icon_stretch: none
	style: outlined
	icon: content_cut
	text: cut
select_all:
	action: ctrl+a
	size: 1,1
	icon: card_text
	text: select all
	style: outlined

docked_spacer2:
	spacer: true
	visibility: docked
	size: 2,1

enter:
	action: enter
	size: 1,1
	style: outlined
	icon: subdirectory_arrow_left
escape:
	font_weight: 500
	action: escape
	size: 1,1
	style: outlined
	text: Esc

docked_spacer3:
	spacer: true
	visibility: docked
	size: 2,1

shift:
	action: toggle shift
	size: 1,1
	text: toggle shift
	icon: apple_keyboard_shift
space:
	action: toggle space
	size: 1,1
	text: toggle space
	icon: keyboard_space
ctrl:
	action: toggle ctrl
	size: 1,1
	text: toggle ctrl
	icon: apple_keyboard_control
alt:
	action: toggle alt
	size: 1,1
	text: alt
title2:
	action: ctrl+alt+2
	style: 1,1
	style: circular_accent
	text: T2
title3:
	action: ctrl+alt+3
	style: 1,1
	style: circular_accent
	text: T3
star:
	action: ctrl+2
	style: 1,1
	style: circular_accent
	icon: star
	text: T2
check:
	action: ctrl+1
	style: 1,1
	style: circular_accent
	icon: check
	text: check

docked_spacer4:
	spacer: true
	visibility: docked
	size: 2,1

up:
	action: repeat up
	size: 2,1
	icon: chevron_up
	visibility: docked
left:
	action: repeat left
	size: 1,1
	icon: chevron_left
right:
	action: repeat right
	size: 1,1
	icon: chevron_right
down:
	action: repeat down
	size: 2,1
	icon: chevron_down
	visibility: docked
docked_spacer5:
	spacer: true
	visibility: docked
	size: 2,1

language_toggle:
	style: outlined
	action: shift+alt
	size: 1,1
	text: toggle keyboard layout
	icon: translate
reopen_browser_tab:
	icon: tab
	action: ctrl+shift+t
	text: reopen closed browser tab
	style: accent
	size: 1,1

LiamKe2 avatar May 29 '24 03:05 LiamKe2

Oddly enough I have the same issue but the empty space is at the bottom of the screen, regardless of what layout is used if I dock to either the left or right side. The issue goes away if I uncheck "Optimize taskbar for touch interactions when this device is used as a tablet" but I like having that checked. No different when I use your layout.

liljesuit avatar Apr 08 '25 15:04 liljesuit