[codenameone-discussions] Re: UIID Text Embedded Border

2019-02-26 Thread shop . service . assistant
Thanks

On Monday, February 25, 2019 at 8:24:54 PM UTC-5, shop.servic...@gmail.com 
wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC, Android IOS
>
> Is it possible to create a UIID with embedded text in Border as in 
> attached image?
>
> I have a Swing method I use to define a space more intuitively 
>
> public void setScrollPaneTextAndBoxColors(JScrollPane 
> BorderTextColors, String Text,
> int lintThickNess, int TextPositioning, java.awt.Font font, 
> Color Background, Color Foreground, int RaisesLowered) {
> 
> BorderTextColors.setBorder(javax.swing.BorderFactory.createTitledBorder(
> new javax.swing.border.LineBorder(Foreground, 
> lintThickNess, true),
> Text, TextPositioning,
> RaisesLowered, font, Background));
> }
>
> Regards
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8fa8b2c7-74ae-4997-811d-766595c14aaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: UIID Text Embedded Border

2019-02-25 Thread Shai Almog
You can derive the Border class and create a custom border like that. There 
is no builtin function as that UI isn't common in modern touch friendly 
UI's.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5c12ad89-d5f3-452f-bf62-8aa989c08a67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.