Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
[BZ 122500] - Ok and Cancel buttons are scrolled out from visible are…
Browse files Browse the repository at this point in the history
…a of modal dialog - increasing the size of popup to make the buttons visible; also improving the select items.
  • Loading branch information
jkremser committed Aug 5, 2014
1 parent 014beae commit 946b701
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ private CanvasItem buildListOfSimplesField(final PropertyDefinitionList property
footer.setMembersMargin(15);
vLayout.addMember(footer);

final IButton deleteButton = new EnhancedIButton();
final IButton deleteButton = new EnhancedIButton(MSG.common_button_delete());
deleteButton.setIcon(Window.getImgURL(ImageManager.getRemoveIcon()));
deleteButton.setTooltip(MSG.view_configEdit_tooltip_1());
deleteButton.setDisabled(true);
Expand Down Expand Up @@ -1273,7 +1273,7 @@ public void onClick(ClickEvent clickEvent) {
if (propertyList.getList().size() >= propertyDefinitionList.getMax()) {
SC.say(MSG.view_configEdit_maxBoundsExceeded(String.valueOf(propertyDefinitionList.getMax())));
} else {
final Window popup = createPopup(MSG.view_configEdit_addItem(), 300, 145);
final Window popup = createPopup(MSG.view_configEdit_addItem(), 400, 150);

VLayout vLayout = new VLayout();
vLayout.setMargin(10);
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,6 @@ div[eventproxy*="PortalColumn"] > .dialogBackground {
.selectItemPickerIconDisabled,
.selectItemPickerIconError {
margin: 0;
font-weight: 600;
cursor: pointer;
background-image: none;
white-space: nowrap;
Expand All @@ -939,7 +938,13 @@ div[eventproxy*="PortalColumn"] > .dialogBackground {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffededed', GradientType=0);
color: #4d5258;
border: 1px solid #b7b7b7;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.selectItemText,
.selectItemTextError,
.selectItemTextFocused,
.selectItemTextDisabled {
padding-left: 3px;
}

.selectItemPickerIcon,
Expand Down

0 comments on commit 946b701

Please sign in to comment.