Index: uspace/lib/ui/include/types/ui/pbutton.h
===================================================================
--- uspace/lib/ui/include/types/ui/pbutton.h	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/include/types/ui/pbutton.h	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -43,4 +43,10 @@
 typedef struct ui_pbutton ui_pbutton_t;
 
+/** UI push button flags */
+typedef enum {
+	/** Do not depress the button in text mode */
+	ui_pbf_no_text_depress = 0x1
+} ui_pbutton_flags_t;
+
 /** Push button callbacks */
 typedef struct ui_pbutton_cb {
Index: uspace/lib/ui/include/ui/pbutton.h
===================================================================
--- uspace/lib/ui/include/ui/pbutton.h	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/include/ui/pbutton.h	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -53,4 +53,5 @@
 extern void ui_pbutton_set_decor_ops(ui_pbutton_t *, ui_pbutton_decor_ops_t *,
     void *);
+extern void ui_pbutton_set_flags(ui_pbutton_t *, ui_pbutton_flags_t);
 extern void ui_pbutton_set_rect(ui_pbutton_t *, gfx_rect_t *);
 extern void ui_pbutton_set_default(ui_pbutton_t *, bool);
Index: uspace/lib/ui/private/pbutton.h
===================================================================
--- uspace/lib/ui/private/pbutton.h	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/private/pbutton.h	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -40,4 +40,5 @@
 #include <gfx/coord.h>
 #include <stdbool.h>
+#include <types/ui/pbutton.h>
 
 /** Actual structure of push button.
@@ -68,4 +69,6 @@
 	/** Pointer is currently inside */
 	bool inside;
+	/** Push button flags */
+	ui_pbutton_flags_t flags;
 };
 
Index: uspace/lib/ui/src/pbutton.c
===================================================================
--- uspace/lib/ui/src/pbutton.c	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/src/pbutton.c	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -152,4 +152,14 @@
 }
 
+/** Set push button flag.s
+ *
+ * @param pbutton Push button
+ * @param flags Flags
+ */
+void ui_pbutton_set_flags(ui_pbutton_t *pbutton, ui_pbutton_flags_t flags)
+{
+	pbutton->flags = flags;
+}
+
 /** Set button rectangle.
  *
@@ -377,5 +387,8 @@
 	errno_t rc;
 
-	depressed = pbutton->held && pbutton->inside;
+	if ((pbutton->flags & ui_pbf_no_text_depress) == 0)
+		depressed = pbutton->held && pbutton->inside;
+	else
+		depressed = false;
 
 	rc = gfx_set_color(pbutton->res->gc, pbutton->res->wnd_face_color);
Index: uspace/lib/ui/src/scrollbar.c
===================================================================
--- uspace/lib/ui/src/scrollbar.c	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/src/scrollbar.c	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -205,4 +205,6 @@
 	    &ui_scrollbar_up_btn_decor_ops, (void *) scrollbar);
 
+	ui_pbutton_set_flags(scrollbar->up_btn, ui_pbf_no_text_depress);
+
 	rc = ui_pbutton_create(resource, down_text, &scrollbar->down_btn);
 	if (rc != EOK)
@@ -214,4 +216,6 @@
 	ui_pbutton_set_decor_ops(scrollbar->down_btn,
 	    &ui_scrollbar_down_btn_decor_ops, (void *) scrollbar);
+
+	ui_pbutton_set_flags(scrollbar->down_btn, ui_pbf_no_text_depress);
 
 	scrollbar->thumb_len = resource->textmode ?
Index: uspace/lib/ui/test/pbutton.c
===================================================================
--- uspace/lib/ui/test/pbutton.c	(revision ea9024d78ce545bc372a25f19c1d363dc0cb8c73)
+++ uspace/lib/ui/test/pbutton.c	(revision 8b22d44208b78e0950de5fef6c616ff1632b1770)
@@ -1,4 +1,4 @@
 /*
- * Copyright (c) 2021 Jiri Svoboda
+ * Copyright (c) 2022 Jiri Svoboda
  * All rights reserved.
  *
@@ -133,4 +133,19 @@
 }
 
+/** Set flags sets internal field */
+PCUT_TEST(set_flags)
+{
+	ui_pbutton_t *pbutton;
+	errno_t rc;
+
+	rc = ui_pbutton_create(NULL, "Hello", &pbutton);
+	PCUT_ASSERT_ERRNO_VAL(EOK, rc);
+
+	ui_pbutton_set_flags(pbutton, ui_pbf_no_text_depress);
+	PCUT_ASSERT_INT_EQUALS(ui_pbf_no_text_depress, pbutton->flags);
+
+	ui_pbutton_destroy(pbutton);
+}
+
 /** Set button rectangle sets internal field */
 PCUT_TEST(set_rect)
