[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Thin Client - Button Controle  XML
Forum Index -> Development
Author Message
pbeha

Power User

Joined: 05/06/2008 09:08:53
Messages: 32
Location: Villingen - Schwenningen
Offline

Hello together,

how can I change the size of the text inside a htButton?


I only know about style: font-size:24pt

But that is not running.

Size of the text is always the same.

greetings
[WWW]
CaptainCasa

Power User
[Avatar]

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

Hi,

the following works "perfectly" on my side...:

Code:
 <t:htbutton id="g_3" style="font-size:16pt" text="sdasd" />
 


Can you send your XML?

Regards, Björn

Björn Müller, CaptainCasa GmbH
pbeha

Power User

Joined: 05/06/2008 09:08:53
Messages: 32
Location: Villingen - Schwenningen
Offline

Hi,

I tried it with different XML files.

E.g. this one:


<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<%@taglib prefix="t" uri="/WEB-INF/eclnt"%>


<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<link id="mystyle" rel="stylesheet" type="text/css" href="eclntjsfserver/htstyle/htstyle.css">
<script>
function isIE() { if (navigator.appName == "Netscape") return false; else return true; }
var m_hotkeycallbacks = new Array();
function ccHotkey(pEvent)
{
for (var i=0; i<m_hotkeycallbacks.length; i++)
m_hotkeycallbacks[i](pEvent);
}
function ccDisableEnterKey(e)
{
if(e.keyCode == 13) return false;
else return true;
}
</script>
</head>
<body class="classbody" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" style="overflow:hidden" onkeyup="ccHotkey(event)">
<script>if (isIE() == false) document.write("<div style='height:100%;width:100%;overflow:auto'>");</script>
<!-- ========== CONTENT BEGIN ========== -->
<f:view>
<h:form>
<f:subview id="thintestg_sv">
<t:htpageaddons1 id="g_pa1"/>
<t:htrowdistance id="g_2" height="5" />
<t:htrow id="g_3" >
<t:htcoldistance id="g_4" width="10" />
<t:htimage id="g_5" height="10" image="images/Kaba.gif" />
<t:htcoldistance id="g_6" width="30" />
<t:htlabel id="g_7" style="font-size: 16px" text="Weberfassung" />
</t:htrow>
<t:htrowdistance id="g_8" height="15" />
<t:htrow id="g_9" >
<t:htcoldistance id="g_10" width="10" />
<t:htlabel id="g_11" style="font-size: 10px" text="Rückmeldenummer:" />
<t:htcoldistance id="g_12" width="10" />
<t:htfield id="g_13" style="font-size: 10px" text="#{d.CollectiveorderUI.selPojo.conf_no}" width="100" />
</t:htrow>
<t:htrowdistance id="g_14" height="5" />
<t:htrow id="g_15" >
<t:htcoldistance id="g_16" width="10" />
<t:htlabel id="g_17" style="font-size: 10px" text="Rückmeldenummer:" />
<t:htcoldistance id="g_18" width="10" />
<t:htcombobox id="g_19" style="font-size: 10px" value="#{d.CollectiveorderUI.selPojo.conf_no}" width="100" >
<t:htcomboboxitem id="g_20" text="0000000626" />
<t:htcomboboxitem id="g_21" text="0000002112" />
</t:htcombobox>
</t:htrow>
<t:htrowdistance id="g_22" height="10" />
<t:htrow id="g_23" >
<t:htcoldistance id="g_24" width="10" />
<t:htlabel id="g_25" style="color:#FF0000;font-size: 10px" text="#{d.CollectiveorderUI.selPojo.info}" />
</t:htrow>
<t:htrowdistance id="g_26" height="20" />
<t:htrow id="g_27" >
<t:htcoldistance id="g_28" width="5" />
<t:htbutton id="g_29" actionListener="#{d.CollectiveorderUI.onStartOperation}" image="images/buttons/InEnabledR16.png" style="font-size: 20px" text="Start" />
<t:htcoldistance id="g_30" width="10" />
<t:htbutton id="g_31" actionListener="#{d.CollectiveorderUI.onEndOperation}" image="images/buttons/OutEnabledR16.png" text="Ende" />
</t:htrow>
<t:htpageaddons2 id="g_pa2"/>
</f:subview>
</h:form>
</f:view>
<!-- ========== CONTENT END ========== -->
<script>if (isIE() == false) document.write("</div>");</script>
</body>
</html>


[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team