Add TextButton widget (#321)

This commit is contained in:
Keavon Chambers
2021-07-31 04:58:25 -07:00
parent e1ac2a85b3
commit 1c317d0166
5 changed files with 101 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="window-buttons-web" @click="handleClick" :title="fullscreen.windowFullscreen ? 'Exit Fullscreen (F11)' : 'Enter Fullscreen (F11)'">
<TextLabel v-if="requestFullscreenHotkeys">Click to access all hotkeys</TextLabel>
<TextLabel v-if="requestFullscreenHotkeys" :italic="true">Click to access all hotkeys</TextLabel>
<IconLabel :icon="fullscreen.windowFullscreen ? 'FullscreenExit' : 'FullscreenEnter'" />
</div>
</template>
@@ -13,8 +13,6 @@
fill: var(--color-e-nearwhite);
.text-label {
font-weight: normal;
font-style: italic;
margin-right: 8px;
}