Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
trinidad ライブラリを使用しています。必要な属性がバッキング Bean から tr:inputText コンポーネントに設定されている場合、コンポーネントは右にシフトします。これにより、コンポーネントがパネル ボックス コンテナ内に含まれる他のコンポーネントと整列しなくなります。
この問題を解決する方法を知っている人はいますか?
ありがとう、ジョン。
私はCSSを使用してそれを解決します。私が正しければ、は に設定<tr:inputText/>されたテーブルとしてレンダリングされます。次に、必要なインジケーターが最初の行の最初のセルに表示されます (入力は必須ではありません)。したがって、次のようなものを試すことができます:styleClassinputStyle
<tr:inputText/>
styleClass
inputStyle
.inputStyle tr:first-child td:first-child { width: 20px; }