[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Riscbutton css uppercase  XML
Forum Index -> Development
Author Message
mstoyanova

Power User

Joined: 26/09/2019 07:10:15
Messages: 48
Offline

I add a change into css for riscbutton, so the text should be uppercase, but in this case all buttons are shown with tree dots, nevermind how much is the width of the element. Which setting I can use for this?
[Thumb - Clipboard01.jpg]
 Filename Clipboard01.jpg [Disk] Download
 Description
 Filesize 4 Kbytes
 Downloaded:  99 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi Marieta,

yes, there is a problem...!
We will fix asap.

Thanks! - Björn

Björn Müller, CaptainCasa GmbH
mstoyanova

Power User

Joined: 26/09/2019 07:10:15
Messages: 48
Offline

Thanks
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5510
Offline

Hi,

20220711 contains the following: you need to pass the uppercase transform within the style class on two levels:

1. actual CSS style level (using "text-transform")
2. RISC-value level (using "_textTransform")

Example:

Code:
     <class n="mybutton_uppercase" extends="riscbutton">
         <risc  n="_textTransform" v="uppercase"/>
         <style n="text-transform" v="uppercase"/>
     </class>
 


Please pay attention: if directly updating style class "riscbutton" then you will see that quite many other style classes depend on this (e.g. the tabs inside a tabbed pane etc. etc.)

So if you may want to centrally change all "normal button", then create an own style class (as shown with "mybutton_uppercase") and update style variant "t:button-default" to point to "mybutton_uppercase" (attribute STYLESEQ).

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
mstoyanova

Power User

Joined: 26/09/2019 07:10:15
Messages: 48
Offline

Thanks Bjorn, yes I created my own style, inherits riscbutton
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team