Questions tagged as 'layout'

1
answer

How to centralize a component using null layout?

My button I want to center is 100 pixels wide. the Jframe is 350 wide. how to centralize? /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open...
asked by 01.03.2017 / 03:24
1
answer

Distribution of components in GroupLayout

The example below has a GroupLayout that contains two elements, a custom search and filter bar ( JPanelSearchAndFilter ) and a JScrollPane . When it is run and then the window is maximized you can see that these two element...
asked by 22.11.2018 / 13:41
1
answer

Error creating sparrow up menu in cardview

I'm creating an application that uses cardview in my list. And I'm having trouble adding the menu in the cardview, as shown below: Mycardviewclass:classCustomAdapterextendsBaseAdapter{privateList<Palheta>palhetas;publicCustomAdapter(List&...
asked by 12.01.2018 / 21:27
1
answer

Position JPanels vertically

I'm trying to add 4 panels so that they stay one below the other. So I decided to use BorderLayout , along with "positioning" ( NORTH , SOUTH and etc), passing index , however, it ends up jumping the second panel. Does...
asked by 16.09.2017 / 19:53
1
answer

How to modify, only via CSS, a color already defined in HTML?

I am trying to modify a color in a text, marked it by the tag "U" with the color already defined in the html. It's like this in html: <u> <font color="#0000c0">somente no seu e-commerce</font> </u> I trie...
asked by 26.10.2016 / 15:41
1
answer

Layout with width 100% and / or height 10%

How can I apply in my application to leave the width and / or height at 100% for iphone and Ipad? I have in my navbar application. textview, webview ... Thank you     
asked by 07.10.2015 / 02:56
1
answer

Center Text block vertically according to the size of the div beside

My partners, I'm losing my hair with this problem I'm facing. I have some pages made with bootsptrap, in which each container has a row and has two columns (each with the following classes: col-xs-12 col-sm-12 col-md-6 col- lg-6), in this the...
asked by 31.03.2015 / 02:57
1
answer

How to reduce the spacing between items in BoxLayout?

In my example, class Teste is JPanel with BorderLayout . Within the middle of this layout is a JScrollPane containing another JPanel with BoxLayout vertically. The intent is for items I add to this...
asked by 28.11.2018 / 18:27
1
answer

Adjust product list in woocommerce to stay aligned correctly

My store has the following visual And I'd like to align the products correctly because the look is not legal. How could I do this?     
asked by 16.04.2018 / 19:49
1
answer

Is there any way to extend a main file in Webforms?

I'm servicing an old application that uses Web Forms. This application uses Iframe to make a kind of layout reuse. The problem is that while doing this, a lot of code is being repeated, and I would like a solution for that. I come f...
asked by 09.03.2018 / 13:13