[codeface] [PATCH 04/27] Improve visual UI concistency

  • From: <wolfgang.mauerer@xxxxxxxxxxxxxxxxx>
  • To: <codeface@xxxxxxxxxxxxx>
  • Date: Sun, 27 Sep 2015 02:28:00 +0200

From: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxx>

A "close" button for UI windows is usually represented
by a cross. The glyph "X" seems a more suitable choice
than the currently employed "A".

Signed-off-by: Wolfgang Mauerer <wolfgang.mauerer@xxxxxxxxxxxxxxxxx>
---
codeface/R/shiny/apps/dashboard/gridsterWidgetsExt.r | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/codeface/R/shiny/apps/dashboard/gridsterWidgetsExt.r
b/codeface/R/shiny/apps/dashboard/gridsterWidgetsExt.r
index 280e856..43cce56 100644
--- a/codeface/R/shiny/apps/dashboard/gridsterWidgetsExt.r
+++ b/codeface/R/shiny/apps/dashboard/gridsterWidgetsExt.r
@@ -36,8 +36,9 @@ gridsterButton <- function(inputId, widgetdialogId) {
tags$div( id="modalAddWidget", class="modal hide fade", tabindex="-1",
role="dialog",
"aria-labelledby"="myModalLabel", "aria-hidden"="true",
tags$div( class="modal-header",
- tags$button( type="button", class="close",
"data-dismiss"="modal", "aria-hidden"="true","A"),
- h3( id="myModalLabel", "Modal header")),
+ tags$button(type="button", class="close",
+ "data-dismiss"="modal", "aria-hidden"="true", "X"),
+ h3( id="myModalLabel", "Add new widgets")),
tags$div( class="modal-body",
tags$p( uiOutput( widgetdialogId ) )
),
--
2.1.4


Other related posts:

  • » [codeface] [PATCH 04/27] Improve visual UI concistency - wolfgang.mauerer